summaryrefslogtreecommitdiff
path: root/sphinx/addnodes.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/addnodes.py')
-rw-r--r--sphinx/addnodes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/addnodes.py b/sphinx/addnodes.py
index 331fe5225..b69533751 100644
--- a/sphinx/addnodes.py
+++ b/sphinx/addnodes.py
@@ -20,7 +20,7 @@ if False:
from typing import List, Sequence # NOQA
-class translatable(object):
+class translatable:
"""Node which supports translation.
The translation goes forward with following steps:
@@ -53,7 +53,7 @@ class translatable(object):
raise NotImplementedError
-class not_smartquotable(object):
+class not_smartquotable:
"""A node which does not support smart-quotes."""
support_smartquotes = False