1.1 --- a/micropython/__init__.py Sat Feb 09 02:35:57 2008 +0100
1.2 +++ b/micropython/__init__.py Sat Feb 09 19:37:38 2008 +0100
1.3 @@ -134,17 +134,7 @@
1.4 image += module.to_list(attributes)
1.5 pos += len(attributes.keys())
1.6
1.7 - # Append the class-level code to the image.
1.8 - # NOTE: An extra optimisation would involve
1.9 - # NOTE: pre-initialisation of attributes and no code being
1.10 - # NOTE: generated here, or perhaps the pre-initialisation of
1.11 - # NOTE: methods and only other attribute-related code being
1.12 - # NOTE: generated here.
1.13 -
1.14 - obj.code_location = pos
1.15 - code = trans.get_code(obj)
1.16 - image += code
1.17 - pos += len(code)
1.18 + # Class-level code is generated separately.
1.19
1.20 # NOTE: Generate module and function code here.
1.21