summaryrefslogtreecommitdiff
path: root/sphinx/ext/napoleon/iterators.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-12-15 08:25:47 -0800
committerJon Dufresne <jon.dufresne@gmail.com>2018-12-15 08:35:55 -0800
commitade973f4e376e6eb573be70fcce4f9b21faec500 (patch)
tree5d185c9a880e77db1e4a73131afaae90b1ad1c77 /sphinx/ext/napoleon/iterators.py
parent6113261948523ef6cad74621dec10e0cbf0189c7 (diff)
downloadsphinx-git-ade973f4e376e6eb573be70fcce4f9b21faec500.tar.gz
Use Python 3 super() argument-less syntax
The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super
Diffstat (limited to 'sphinx/ext/napoleon/iterators.py')
-rw-r--r--sphinx/ext/napoleon/iterators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/napoleon/iterators.py b/sphinx/ext/napoleon/iterators.py
index 0ad8038f3..7e1833c32 100644
--- a/sphinx/ext/napoleon/iterators.py
+++ b/sphinx/ext/napoleon/iterators.py
@@ -232,7 +232,7 @@ class modify_iter(peek_iter):
if not callable(self.modifier):
raise TypeError('modify_iter(o, modifier): '
'modifier must be callable')
- super(modify_iter, self).__init__(*args)
+ super().__init__(*args)
def _fillcache(self, n):
# type: (int) -> None