Add __main__() PEP.

This commit is contained in:
Georg Brandl 2006-06-28 06:47:51 +00:00
parent 6fc6cbc452
commit 4939886cb8
1 changed files with 4 additions and 0 deletions

View File

@ -110,6 +110,7 @@ Core language
NB. {range(x)} means set([range(x)]), NOT set(range(x)).
There's no literal for an empty set; use set() (or {1}&{2} :-).
There's no frozenset literal; they are too rarely needed.
* Reconsider PEP 299 [30]_: special __main__() function in modules.
To be removed:
@ -324,6 +325,9 @@ References
.. [29] python-3000 email ("bug in modulus?")
http://mail.python.org/pipermail/python-3000/2006-May/001735.html
.. [30] PEP 299 ("Special __main__() function in modules")
http://www.python.org/dev/peps/pep-0299
.. [#pep238] PEP 238 (Changing the Division Operator)
http://www.python.org/dev/peps/pep-0238