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:46:54 +0100
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2022-06-16 21:46:54 +0100
commit7e38d2dad808e6f3995d7266a78390a8ccc37781 (patch)
treedec683a1a86f1e20cac6892c6993ce8523d73179 /sphinx/util/typing.py
parentce31e1c0c7b32f6be93186e0fef076ef65ff0b05 (diff)
parent6ab15a047cf9d3957aa884f5aa5b20e98f039f6e (diff)
downloadsphinx-git-7e38d2dad808e6f3995d7266a78390a8ccc37781.tar.gz
Merge branch '5.x'
# Conflicts: # .github/workflows/builddoc.yml # .github/workflows/lint.yml # sphinx/registry.py
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 62bd462b8..430d22d16 100644
--- a/sphinx/util/typing.py
+++ b/sphinx/util/typing.py
@@ -31,11 +31,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