Author: guido.van.rossum
Date: Thu Jun 14 05:27:55 2007
New Revision: 55971
Modified:
python/branches/py3k-struni/Lib/abc.py
Log:
Modernize the super() call in ABCMeta.__new__() -- I had messed with
it when I thought something was broken, and forgotten to restore it
before checking in (maybe I did a svn revert which had the wrong effect?).
Modified: python/branches/py3k-struni/Lib/abc.py
==============================================================================
--- python/branches/py3k-struni/Lib/abc.py (original)
+++ python/branches/py3k-struni/Lib/abc.py Thu Jun 14 05:27:55 2007
@@ -93,7 +93,7 @@
def __new__(mcls, name, bases, namespace):
bases = _fix_bases(bases)
- cls = super(ABCMeta, mcls).__new__(mcls, name, bases, namespace)
+ cls = super().__new__(mcls, name, bases, namespace)
# Compute set of abstract method names
abstracts = {name
for name, value in namespace.items()
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins