diff options
author | Moisés Guimarães de Medeiros <moguimar@redhat.com> | 2020-12-01 12:36:32 +0100 |
---|---|---|
committer | Moisés Guimarães de Medeiros <moguimar@redhat.com> | 2021-01-12 17:09:25 +0000 |
commit | 05b6a3333603595ef99131286b8ccbf1e48136f7 (patch) | |
tree | 45cb277357a834ef494b7606ed89e49d2494cc23 /doc | |
parent | cefa4d47507acfd7a90f6a56b73b4795ba881a52 (diff) | |
download | oslo-config-05b6a3333603595ef99131286b8ccbf1e48136f7.tar.gz |
inherit from object is not required for py3
Change-Id: I3f3b1dca78e2e9b2515231ccc6600b64f31039fb
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/reference/configuration-files.rst | 2 | ||||
-rw-r--r-- | doc/source/reference/defining.rst | 2 |
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(...) |