Add missing msg type to ImportError (#5111)

Fixes #5107
This commit is contained in:
Andrew Crabtree
2021-03-12 11:20:46 -08:00
committed by GitHub
parent faa5c70f25
commit a3cfb4e507

View File

@@ -1311,6 +1311,7 @@ class ImportError(_StandardError):
def __init__(self, *args: object, name: Optional[str] = ..., path: Optional[str] = ...) -> None: ...
name: Optional[str]
path: Optional[str]
msg: str # undocumented
class LookupError(_StandardError): ...
class MemoryError(_StandardError): ...