mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
committed by
Guido van Rossum
parent
ba82ac08ed
commit
afde2fd234
@@ -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: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user