diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-17 22:14:59 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-17 23:20:01 +0900 |
commit | a3ab764a5ba5134d1ef0f1f4abef0138ce478e15 (patch) | |
tree | 2e548a7976f4c49dd3f46d85d5784c1f62665cdb /sphinx/util/docutils.py | |
parent | 0a199c08b834e8416ddec7d2b4b4f6e8950f8196 (diff) | |
download | sphinx-git-a3ab764a5ba5134d1ef0f1f4abef0138ce478e15.tar.gz |
Reorder the arguments for translators
Diffstat (limited to 'sphinx/util/docutils.py')
-rw-r--r-- | sphinx/util/docutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/util/docutils.py b/sphinx/util/docutils.py index 5d171b15c..4f6eb418e 100644 --- a/sphinx/util/docutils.py +++ b/sphinx/util/docutils.py @@ -392,8 +392,8 @@ class SphinxTranslator(nodes.NodeVisitor): This class is strongly coupled with Sphinx. """ - def __init__(self, builder, document): - # type: (Builder, nodes.document) -> None + def __init__(self, document, builder): + # type: (nodes.document, Builder) -> None super().__init__(document) self.builder = builder self.config = builder.config |