diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-03-07 04:45:39 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-03-07 13:36:41 +0300 |
commit | 6d4fefebf4ecee4416da016d8e647298003fb57a (patch) | |
tree | a0f8dedd36b9562a248bcf8bc8eab91d09136a58 /sphinx/registry.py | |
parent | 3e0618ba3a84c7db51813cab43779d11c5fe7802 (diff) |
Deprecate codes for python 3.5
Diffstat (limited to 'sphinx/registry.py')
-rw-r--r-- | sphinx/registry.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sphinx/registry.py b/sphinx/registry.py index 93a7ebc25..d25c688c4 100644 --- a/sphinx/registry.py +++ b/sphinx/registry.py @@ -11,7 +11,7 @@ import traceback from importlib import import_module from types import MethodType -from typing import Any, Callable, Dict, Iterator, List, Tuple, Union +from typing import Any, Callable, Dict, Iterator, List, Tuple, Type, Union from docutils import nodes from docutils.io import Input @@ -37,7 +37,6 @@ from sphinx.util.typing import RoleFunction, TitleGetter if False: # For type annotation - from typing import Type # for python3.5.1 from sphinx.application import Sphinx from sphinx.ext.autodoc import Documenter |