1.1 --- a/micropython/inspect.py Sun Mar 09 02:10:12 2008 +0100
1.2 +++ b/micropython/inspect.py Sun Mar 09 02:46:57 2008 +0100
1.3 @@ -257,11 +257,10 @@
1.4
1.5 class Const:
1.6
1.7 - "A constant object with no parent defined as its context."
1.8 + "A constant object with no context."
1.9
1.10 def __init__(self, value):
1.11 self.value = value
1.12 - self.parent = None
1.13
1.14 # Image generation details.
1.15
1.16 @@ -656,7 +655,7 @@
1.17 self[name].position = i
1.18
1.19 j = i
1.20 - for i, attr in enumerate(self.locals()):
1.21 + for i, attr in enumerate(self.locals().values()):
1.22 attr.position = i + j
1.23
1.24 class UnresolvedName(NamespaceDict):