mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-26 05:41:11 +08:00
Fix logging.Handler.format return type, should be str, not None (#1076)
This commit is contained in:
committed by
Jelle Zijlstra
parent
13bcc79c12
commit
1a2381828e
@@ -143,7 +143,7 @@ class Handler(Filterer):
|
||||
def close(self) -> None: ...
|
||||
def handle(self, record: 'LogRecord') -> None: ...
|
||||
def handleError(self, record: 'LogRecord') -> None: ...
|
||||
def format(self, record: 'LogRecord') -> None: ...
|
||||
def format(self, record: 'LogRecord') -> str: ...
|
||||
def emit(self, record: 'LogRecord') -> None: ...
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user