diff --git a/stdlib/2and3/logging/__init__.pyi b/stdlib/2and3/logging/__init__.pyi index 924f525d0..9602587a7 100644 --- a/stdlib/2and3/logging/__init__.pyi +++ b/stdlib/2and3/logging/__init__.pyi @@ -22,6 +22,11 @@ _Level = Union[int, Text] raiseExceptions: bool +if sys.version_info >= (3,): + _levelToName = ... # type: Dict[int, str] + _nameToLevel = ... # type: Dict[str, int] +else: + _levelNames = ... # type: dict class Logger: name = ... # type: str