diff options
Diffstat (limited to 'sphinx/search/__init__.py')
-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: """ |