micropython/__init__.py | raw changeset files shortlog |
1.1 --- a/micropython/__init__.py Fri Mar 20 00:32:43 2009 +0100 1.2 +++ b/micropython/__init__.py Sun Apr 05 03:05:59 2009 +0200 1.3 @@ -412,7 +412,7 @@ 1.4 # Name records (used to track actual use of names). 1.5 # Include names which may not be explicitly used in programs. 1.6 1.7 - self.names_used = set(["__init__", "__call__"]) 1.8 + self.names_used = set(["__init__", "__call__", "__getitem__", "__bool__"]) 1.9 1.10 # Status information. 1.11