Michael Hudson wrote:
> > that would turn exit and quit into reserved keywords.
>
> In what sense? Not in the sense of "things in single quotes in
> Grammar"...
no, but in the sense of "names that can no longer be used in code"
>>> def exit():
... print "bye"
>>> # what is it?
>>> exit
$ oops!
the whole nameerror thing is there to avoid problems if you create
your own exit variables/functions/classes/modules.
</F>
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com