summaryrefslogtreecommitdiff
path: root/sphinx/ext/autodoc/mock.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/ext/autodoc/mock.py')
-rw-r--r--sphinx/ext/autodoc/mock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/autodoc/mock.py b/sphinx/ext/autodoc/mock.py
index b4204ef76..6ae389258 100644
--- a/sphinx/ext/autodoc/mock.py
+++ b/sphinx/ext/autodoc/mock.py
@@ -40,7 +40,7 @@ class _MockObject:
return _make_subclass(args[0], superclass.__display_name__,
superclass=superclass, attributes=args[2])
- return super(_MockObject, cls).__new__(cls)
+ return super().__new__(cls)
def __init__(self, *args, **kwargs):
# type: (Any, Any) -> None