1
0
forked from VimPlug/jedi

Add ignores for stdlib imports only recently added

This commit is contained in:
Peter Law
2020-07-24 20:03:34 +01:00
parent 4b7e837f0f
commit 38f853cf86
2 changed files with 4 additions and 2 deletions

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.