summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/source/reference/configuration-files.rst2
-rw-r--r--doc/source/reference/defining.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/reference/configuration-files.rst b/doc/source/reference/configuration-files.rst
index b4e299d..435a135 100644
--- a/doc/source/reference/configuration-files.rst
+++ b/doc/source/reference/configuration-files.rst
@@ -7,7 +7,7 @@ and ``--config-dir``:
.. code-block:: python
- class ConfigOpts(object):
+ class ConfigOpts:
def __call__(self, ...):
diff --git a/doc/source/reference/defining.rst b/doc/source/reference/defining.rst
index d8e1866..19a70ec 100644
--- a/doc/source/reference/defining.rst
+++ b/doc/source/reference/defining.rst
@@ -81,7 +81,7 @@ the option is referenced:
.. code-block:: python
- class ExtensionManager(object):
+ class ExtensionManager:
enabled_apis_opt = cfg.ListOpt(...)