Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-03-17 22:49:36 +0300
committerJon Dufresne <jon.dufresne@gmail.com>2019-03-17 22:58:03 +0300
commitf210475489fe7f8f9fffbb68f7199bcd271ac0be (patch)
treecf41f36b12144b3cf614030dd047f138bf6b5a86 /sphinx/io.py
parent42c8fbd6f30d040683a56277ba59732c028623ab (diff)
Python-3-only clean ups discovered by pyupgrade
https://github.com/asottile/pyupgrade > A tool to automatically upgrade syntax for newer versions of the > language. - Drop u str prefix - Drop base object inheritance - Drop args to super() - Use set literals - Use dict comprehension - Use set comprehension
Diffstat (limited to 'sphinx/io.py')
-rw-r--r--sphinx/io.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/io.py b/sphinx/io.py
index f6162b024..b5b57d065 100644
--- a/sphinx/io.py
+++ b/sphinx/io.py
@@ -195,7 +195,7 @@ class SphinxFileInput(FileInput):
def __init__(self, *args, **kwargs):
# type: (Any, Any) -> None
kwargs['error_handler'] = 'sphinx'
- super(SphinxFileInput, self).__init__(*args, **kwargs)
+ super().__init__(*args, **kwargs)
class SphinxRSTFileInput(SphinxBaseFileInput):