summaryrefslogtreecommitdiff
path: root/sphinx/util/typing.py
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2022-06-16 21:37:46 +0100
committerGitHub <noreply@github.com>2022-06-16 21:37:46 +0100
commit70f950cae039fa8f1890decd6b123659b15eda1d (patch)
tree27b24ec48a69690bb52d7cd8fa23d28b2a5166a0 /sphinx/util/typing.py
parent6d23d7d15330271ce5e37e51a811ab219354e6dc (diff)
downloadsphinx-git-70f950cae039fa8f1890decd6b123659b15eda1d.tar.gz
Remove traces of Python 2 and 3.5 (#10560)
Diffstat (limited to 'sphinx/util/typing.py')
-rw-r--r--sphinx/util/typing.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/sphinx/util/typing.py b/sphinx/util/typing.py
index 8e48b184b..c070eb00c 100644
--- a/sphinx/util/typing.py
+++ b/sphinx/util/typing.py
@@ -30,11 +30,6 @@ try:
except ImportError:
UnionType = None
-if False:
- # For type annotation
- from typing import Type # NOQA # for python3.5.1
-
-
# builtin classes that have incorrect __module__
INVALID_BUILTIN_CLASSES = {
Struct: 'struct.Struct', # Before Python 3.9