summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2005-03-05 06:47:57 (GMT)
committerBrett Cannon <bcannon@gmail.com>2005-03-05 06:47:57 (GMT)
commit409d8f2ebdf597837c593a40659949e5b15f457d (patch)
tree65efd1daca556adb53a28d3957ba57dc801e0dda /Misc
parent653a5adcca68d445b21dd2a640627f0f0185204a (diff)
downloadcpython-409d8f2ebdf597837c593a40659949e5b15f457d.zip
cpython-409d8f2ebdf597837c593a40659949e5b15f457d.tar.gz
cpython-409d8f2ebdf597837c593a40659949e5b15f457d.tar.bz2
Allow classes to be defined with empty parentheses. This means that
``class C(): pass`` is no longer a syntax error.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 86d3677..08a8f43 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,9 @@ What's New in Python 2.5 alpha 1?
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