Add ignores for stdlib imports only recently added

This commit is contained in:
Peter Law committed 2020-07-24 21:06:30 +01:00
1 parent 4b7e837f0f
commit 38f853cf86
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -5,7 +5,8 @@ from typing import Dict, Optional
from jedi.inference.names import AbstractArbitraryName
try:
from pydoc_data import topics
# https://github.com/python/typeshed/pull/4351 adds pydoc_data
from pydoc_data import topics # type: ignore[import]
pydoc_topics: Optional[Dict[str, str]] = topics.topics
except ImportError:
# Python 3.6.8 embeddable does not have pydoc_data.