1.1 --- a/micropython/data.py Sun Nov 22 23:34:04 2009 +0100
1.2 +++ b/micropython/data.py Sun Nov 22 23:53:30 2009 +0100
1.3 @@ -264,13 +264,10 @@
1.4 l[attr.position] = attr
1.5 return l
1.6
1.7 - def finalise_attributes(self, reset=0):
1.8 + def finalise_attributes(self):
1.9
1.10 "Make sure all attributes are fully defined."
1.11
1.12 - if reset:
1.13 - self.unfinalise_attributes()
1.14 -
1.15 if self.finalised:
1.16 return
1.17
1.18 @@ -713,13 +710,10 @@
1.19
1.20 return NamespaceDict.get_updated_context_values(self, results)
1.21
1.22 - def finalise_attributes(self, reset=0):
1.23 + def finalise_attributes(self):
1.24
1.25 "Make sure that all attributes are fully defined."
1.26
1.27 - if reset:
1.28 - self.unfinalise_attributes()
1.29 -
1.30 if self.finalised:
1.31 return
1.32
1.33 @@ -1148,7 +1142,7 @@
1.34 return 1
1.35 return 0
1.36
1.37 - def finalise_attributes(self, reset=0):
1.38 + def finalise_attributes(self):
1.39
1.40 """
1.41 Make sure all attributes (locals) are fully defined. Note that locals
1.42 @@ -1156,9 +1150,6 @@
1.43 Defaults are also finalised by this method.
1.44 """
1.45
1.46 - if reset:
1.47 - self.unfinalise_attributes()
1.48 -
1.49 if self.finalised:
1.50 return
1.51