new reserved words in 2.0

Jeremy Hylton jeremy at beopen.com
Mon Sep 18 10:56:49 EDT 2000


Python 2.0b1 (#1, Sep 13 2000, 09:05:15) 
[GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> copyright = 12
>>> credits = 13
>>> license = copyright + credits - 2

They're not keywords, just objeects defined in __builtins__.

>>> __builtins__.credits
Python development is led by BeOpen PythonLabs (www.pythonlabs.com).

-- Jeremy Hylton <http://www.python.org/~jeremy/>



More information about the Python-list mailing list