diff --git a/stdlib/2and3/logging/__init__.pyi b/stdlib/2and3/logging/__init__.pyi index 1503775b6..286c8590f 100644 --- a/stdlib/2and3/logging/__init__.pyi +++ b/stdlib/2and3/logging/__init__.pyi @@ -123,7 +123,7 @@ class Filterer(object): def __init__(self) -> None: ... def addFilter(self, filter: Filter) -> None: ... def removeFilter(self, filter: Filter) -> None: ... - def filter(self, record) -> bool: ... + def filter(self, record: 'LogRecord') -> bool: ... class Handler(Filterer): @@ -383,7 +383,7 @@ if sys.version_info >= (3,): asctime_search = ... # type: str _fmt = ... # type: str - def __init__(self, fmt) -> None: ... + def __init__(self, fmt: str) -> None: ... def usesTime(self) -> bool: ... def format(self, record: Any) -> str: ...