From b20d74f8a018e29b2141d1553306a35e53115720 Mon Sep 17 00:00:00 2001 From: sethg Date: Sat, 22 Feb 2020 13:31:18 +0100 Subject: [PATCH] Review updates --- doc/usage/restructuredtext/directives.rst | 2 +- sphinx/domains/index.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/usage/restructuredtext/directives.rst b/doc/usage/restructuredtext/directives.rst index 933d213c9..b5b0a2980 100644 --- a/doc/usage/restructuredtext/directives.rst +++ b/doc/usage/restructuredtext/directives.rst @@ -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 diff --git a/sphinx/domains/index.py b/sphinx/domains/index.py index 44431eed5..7aa1018f5 100644 --- a/sphinx/domains/index.py +++ b/sphinx/domains/index.py @@ -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')