On Tue, Dec 31, 2013 at 4:27 AM, spir <denis.s...@gmail.com> wrote:
> In addition, "iter" is also the name of a builtin function, like "print".

While iter is a built-in function, it would be clearer if you
referenced the __builtins__ namespace. Built-in objects are linked
into the interpreter, either statically or from a shared library (.so,
.pyd). But the __builtins__ namespace can and does include names for
non-built-in objects (e.g. help and exit). The important point in this
context is that iter is in the builtins module, not that it's a
built-in function. There are lots of built-in objects that aren't in
builtins.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to