1.1 --- a/micropython/__init__.py Sat Feb 23 21:25:03 2008 +0100
1.2 +++ b/micropython/__init__.py Sun Feb 24 01:27:16 2008 +0100
1.3 @@ -116,7 +116,7 @@
1.4 # Append module attributes to the image.
1.5
1.6 attributes = module.module_attributes()
1.7 - image += module.to_list(attributes)
1.8 + image += module.attributes_as_list()
1.9 pos += len(attributes.keys())
1.10
1.11 # Append classes and functions to the image.
1.12 @@ -136,7 +136,7 @@
1.13 # Append class attributes to the image.
1.14
1.15 attributes = obj.class_attributes()
1.16 - image += module.to_list(attributes)
1.17 + image += obj.attributes_as_list()
1.18 pos += len(attributes.keys())
1.19
1.20 # Class-level code is generated separately.