diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-11-23 21:23:36 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-23 21:23:36 +0900 |
commit | e326017f743a2e2757e9611a0385623a2cb85b6d (patch) | |
tree | f430e9c18689ae7ee0795daea9663eb320891e5f /sphinx/util/compat.py | |
parent | c0f0091e6e553b56cb63d662ebab97ed2196aee6 (diff) | |
parent | 24564892699384ee37f283850ae224c5a90c988b (diff) | |
download | sphinx-git-e326017f743a2e2757e9611a0385623a2cb85b6d.tar.gz |
Merge pull request #5661 from tk0miya/fix_typehints_for_transforms
Adjust type annotations for transforms to docutils'
Diffstat (limited to 'sphinx/util/compat.py')
-rw-r--r-- | sphinx/util/compat.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/util/compat.py b/sphinx/util/compat.py index e0c86df5e..4f41f311a 100644 --- a/sphinx/util/compat.py +++ b/sphinx/util/compat.py @@ -58,7 +58,8 @@ class IndexEntriesMigrator(SphinxTransform): """Migrating indexentries from old style (4columns) to new style (5columns).""" default_priority = 700 - def apply(self): + def apply(self, **kwargs): + # type: (Any) -> None for node in self.document.traverse(addnodes.index): for entries in node['entries']: if len(entries) == 4: |