[Python-checkins] r47141 - peps/trunk/pep-3100.txt
georg.brandl
python-checkins at python.org
Wed Jun 28 08:47:51 CEST 2006
Author: georg.brandl
Date: Wed Jun 28 08:47:51 2006
New Revision: 47141
Modified:
peps/trunk/pep-3100.txt
Log:
Add __main__() PEP.
Modified: peps/trunk/pep-3100.txt
==============================================================================
--- peps/trunk/pep-3100.txt (original)
+++ peps/trunk/pep-3100.txt Wed Jun 28 08:47:51 2006
@@ -110,6 +110,7 @@
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 @@
.. [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
More information about the Python-checkins
mailing list