1.1 --- a/micropython/__init__.py Sat Jun 12 02:47:03 2010 +0200
1.2 +++ b/micropython/__init__.py Sat Jun 12 03:04:08 2010 +0200
1.3 @@ -334,7 +334,7 @@
1.4 }
1.5
1.6 names_always_used = [
1.7 - "bool", "__init__", "__call__", "__bool__"
1.8 + "bool", "__call__", "__bool__"
1.9 ]
1.10
1.11 def __init__(self, path=None, verbose=0, optimisations=None):
1.12 @@ -542,6 +542,7 @@
1.13 # in this initialiser.
1.14
1.15 if "__init__" in objtable.table.get(from_name, []):
1.16 + self.use_attribute(from_name, "__init__")
1.17 self._collect_attributes(from_name + ".__init__", objtable)
1.18
1.19 # Constant accounting.