summaryrefslogtreecommitdiff
path: root/sphinx/deprecation.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/deprecation.py')
-rw-r--r--sphinx/deprecation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/deprecation.py b/sphinx/deprecation.py
index e10ec8b32..6cdd22ec1 100644
--- a/sphinx/deprecation.py
+++ b/sphinx/deprecation.py
@@ -37,7 +37,7 @@ def deprecated_alias(modname, objects, warning):
sys.modules[modname] = _ModuleWrapper(module, modname, objects, warning) # type: ignore
-class _ModuleWrapper(object):
+class _ModuleWrapper:
def __init__(self, module, modname, objects, warning):
# type: (Any, str, Dict, Type[Warning]) -> None
self._module = module