1.1 --- a/micropython/__init__.py Mon Apr 20 01:50:00 2009 +0200
1.2 +++ b/micropython/__init__.py Thu Apr 23 00:52:33 2009 +0200
1.3 @@ -411,8 +411,10 @@
1.4
1.5 # Name records (used to track actual use of names).
1.6 # Include names which may not be explicitly used in programs.
1.7 + # NOTE: Potentially declare these when inspecting. For example, __iter__
1.8 + # NOTE: and next are usually implicitly invoked by "for" statements.
1.9
1.10 - self.names_used = set(["__init__", "__call__", "__getitem__", "__bool__"])
1.11 + self.names_used = set(["__init__", "__call__", "__getitem__", "__bool__", "__iter__", "next"])
1.12
1.13 # Status information.
1.14