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/search | |
parent | 3e0618ba3a84c7db51813cab43779d11c5fe7802 (diff) |
Deprecate codes for python 3.5
Diffstat (limited to 'sphinx/search')
-rw-r--r-- | sphinx/search/__init__.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sphinx/search/__init__.py b/sphinx/search/__init__.py index aab4297a0..118bfcc55 100644 --- a/sphinx/search/__init__.py +++ b/sphinx/search/__init__.py @@ -13,7 +13,7 @@ import re import warnings from importlib import import_module from os import path -from typing import Any, Dict, IO, Iterable, List, Tuple, Set +from typing import Any, Dict, IO, Iterable, List, Tuple, Set, Type from docutils import nodes from docutils.nodes import Node @@ -25,10 +25,6 @@ from sphinx.environment import BuildEnvironment from sphinx.search.jssplitter import splitter_code from sphinx.util import jsdump, rpartition -if False: - # For type annotation - from typing import Type # for python3.5.1 - class SearchLanguage: """ |