summaryrefslogtreecommitdiff
path: root/sphinx/transforms/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/transforms/__init__.py')
-rw-r--r--sphinx/transforms/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/transforms/__init__.py b/sphinx/transforms/__init__.py
index 6e189b35f..2268e318c 100644
--- a/sphinx/transforms/__init__.py
+++ b/sphinx/transforms/__init__.py
@@ -88,7 +88,7 @@ class SphinxTransformer(Transformer):
if not hasattr(self.document.settings, 'env') and self.env:
self.document.settings.env = self.env
- super(SphinxTransformer, self).apply_transforms()
+ super().apply_transforms()
else:
# wrap the target node by document node during transforming
try:
@@ -97,7 +97,7 @@ class SphinxTransformer(Transformer):
document.settings.env = self.env
document += self.document
self.document = document
- super(SphinxTransformer, self).apply_transforms()
+ super().apply_transforms()
finally:
self.document = self.document[0]
@@ -355,7 +355,7 @@ class SphinxSmartQuotes(SmartQuotes, SphinxTransform):
# override default settings with :confval:`smartquotes_action`
self.smartquotes_action = self.config.smartquotes_action
- super(SphinxSmartQuotes, self).apply()
+ super().apply()
def is_available(self):
# type: () -> bool