diff options
Diffstat (limited to 'sphinx/util/__init__.py')
-rw-r--r-- | sphinx/util/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/__init__.py b/sphinx/util/__init__.py index 4766333b0..dba327499 100644 --- a/sphinx/util/__init__.py +++ b/sphinx/util/__init__.py @@ -496,7 +496,7 @@ def force_decode(string, encoding): class attrdict(dict): def __init__(self, *args, **kwargs): - super(attrdict, self).__init__(*args, **kwargs) + super().__init__(*args, **kwargs) warnings.warn('The attrdict class is deprecated.', RemovedInSphinx40Warning, stacklevel=2) |