diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-11-11 23:55:22 +0300 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2018-11-12 00:07:12 +0300 |
commit | 710ca3d7c3a41296861b0be79b9904246477968d (patch) | |
tree | 6cd7739bf90ec0fca6c0d0b42e7e324f431af82b /sphinx/writers/manpage.py | |
parent | 42d52d6a919fafdcd07ebea4fd983bf3055314fa (diff) |
Use super() to call parent class's method
Diffstat (limited to 'sphinx/writers/manpage.py')
-rw-r--r-- | sphinx/writers/manpage.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/writers/manpage.py b/sphinx/writers/manpage.py index 471e58813..806aa32a9 100644 --- a/sphinx/writers/manpage.py +++ b/sphinx/writers/manpage.py @@ -32,7 +32,7 @@ logger = logging.getLogger(__name__) class ManualPageWriter(Writer): def __init__(self, builder): # type: (Builder) -> None - Writer.__init__(self) + super(ManualPageWriter, self).__init__() self.builder = builder def translate(self): @@ -82,7 +82,7 @@ class ManualPageTranslator(BaseTranslator): def __init__(self, builder, *args, **kwds): # type: (Builder, Any, Any) -> None - BaseTranslator.__init__(self, *args, **kwds) + super(ManualPageTranslator, self).__init__(*args, **kwds) self.builder = builder self.in_productionlist = 0 |