diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2022-04-30 22:27:25 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-30 22:27:25 +0900 |
commit | 2a354d48dc3508341e3043b7ebd487cb34cb42c2 (patch) | |
tree | 91d3ec27f371c06a530220d927c8ea01e343c5dc /sphinx/domains/python.py | |
parent | e7cba3516e6e3cd1cf90c29068c63c011e860204 (diff) | |
parent | b048f17cda17322b0f3580ac75796265074eb8c9 (diff) | |
download | sphinx-git-2a354d48dc3508341e3043b7ebd487cb34cb42c2.tar.gz |
Merge pull request #10401 from tk0miya/mypy-0.950
Fix mypy violations (with mypy-0.950)
Diffstat (limited to 'sphinx/domains/python.py')
-rw-r--r-- | sphinx/domains/python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/domains/python.py b/sphinx/domains/python.py index f55d76ba0..98162f699 100644 --- a/sphinx/domains/python.py +++ b/sphinx/domains/python.py @@ -1466,7 +1466,7 @@ def builtin_resolver(app: Sphinx, env: BuildEnvironment, if s.startswith('typing.'): s = s.split('.', 1)[1] - return s in typing.__all__ # type: ignore + return s in typing.__all__ if node.get('refdomain') != 'py': return None |