Review updates

This commit is contained in:
sethg
2020-02-22 13:31:18 +01:00
parent d89d348db1
commit b20d74f8a0
2 changed files with 2 additions and 2 deletions

View File

@@ -885,7 +885,7 @@ mainly contained in information units, such as the language reference.
.. index:: Python
:name: py-index
.. versionadded:: 2.5
.. versionadded:: 3.0
.. rst:role:: index

View File

@@ -71,7 +71,7 @@ class IndexDirective(SphinxDirective):
final_argument_whitespace = True
option_spec = {
'name': directives.unchanged,
} # type: Dict
}
def run(self) -> List[Node]:
arguments = self.arguments[0].split('\n')