[Python-checkins] python/dist/src/Misc NEWS,1.1266,1.1267
bcannon at users.sourceforge.net
bcannon at users.sourceforge.net
Sat Mar 5 07:48:00 CET 2005
Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30194/Misc
Modified Files:
NEWS
Log Message:
Allow classes to be defined with empty parentheses. This means that
``class C(): pass`` is no longer a syntax error.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.1266
retrieving revision 1.1267
diff -u -d -r1.1266 -r1.1267
--- NEWS 5 Mar 2005 02:53:17 -0000 1.1266
+++ NEWS 5 Mar 2005 06:47:57 -0000 1.1267
@@ -10,6 +10,9 @@
Core and builtins
-----------------
+- Defining a class with empty parentheses is now allowed
+ (e.g., ``class C(): pass`` is no longer a syntax error)
+
- Patch #1115086: Support PY_LONGLONG in structmember.
- Bug #1155938: new style classes did not check that __init__() was
More information about the Python-checkins
mailing list