summaryrefslogtreecommitdiffstats
path: root/Lib/abc.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/abc.py')
-rw-r--r--Lib/abc.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/abc.py b/Lib/abc.py
index ad5a523..f8e0230 100644
--- a/Lib/abc.py
+++ b/Lib/abc.py
@@ -56,8 +56,6 @@ class _Abstract(object):
"""Helper class inserted into the bases by ABCMeta (using _fix_bases()).
You should never need to explicitly subclass this class.
-
- There should never be a base class between _Abstract and object.
"""
def __new__(cls, *args, **kwds):
@@ -69,7 +67,7 @@ class _Abstract(object):
if (args or kwds) and cls.__init__ is object.__init__:
raise TypeError("Can't pass arguments to __new__ "
"without overriding __init__")
- return object.__new__(cls)
+ return super().__new__(cls)
@classmethod
def __subclasshook__(cls, subclass):