summaryrefslogtreecommitdiff
path: root/sphinx/util/compat.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-01-01 11:39:46 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-01-01 11:39:46 +0900
commite628afd5cd0c565f1e33abb01cac26180455182f (patch)
tree3b7cddfe175c444588a0b8d9e80430faeb994b8c /sphinx/util/compat.py
parent9458d631d0393956005754ed8137809e15635467 (diff)
parentc5b653433d3fbdca47396f17161685f50d994320 (diff)
downloadsphinx-git-e628afd5cd0c565f1e33abb01cac26180455182f.tar.gz
Merge branch '2.0'
Diffstat (limited to 'sphinx/util/compat.py')
-rw-r--r--sphinx/util/compat.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/util/compat.py b/sphinx/util/compat.py
index 4f756b0b0..0135899eb 100644
--- a/sphinx/util/compat.py
+++ b/sphinx/util/compat.py
@@ -4,7 +4,7 @@
modules for backward compatibility
- :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
+ :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
@@ -40,7 +40,7 @@ class IndexEntriesMigrator(SphinxTransform):
"""Migrating indexentries from old style (4columns) to new style (5columns)."""
default_priority = 700
- def apply(self, **kwargs) -> None:
+ def apply(self, **kwargs: Any) -> None:
for node in self.document.traverse(addnodes.index):
for i, entries in enumerate(node['entries']):
if len(entries) == 4: