1.1 --- a/micropython/data.py Sun May 24 19:03:03 2009 +0200
1.2 +++ b/micropython/data.py Sun May 24 20:28:56 2009 +0200
1.3 @@ -594,8 +594,8 @@
1.4 )
1.5 ]
1.6
1.7 - def get_direct_invocation_location(self):
1.8 - return self.get_instantiator().blocks[0].location
1.9 + def get_body_block(self):
1.10 + return self.get_instantiator().blocks[0]
1.11
1.12 # Namespace-related methods.
1.13
1.14 @@ -975,8 +975,8 @@
1.15 )
1.16 ]
1.17
1.18 - def get_direct_invocation_location(self):
1.19 - return self.body_block.location
1.20 + def get_body_block(self):
1.21 + return self.body_block
1.22
1.23 # Namespace-related methods.
1.24