mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-09 06:45:51 +08:00
Fix logging.Handler.format return type, should be str, not None (#1076)
This commit is contained in:
1 parent
13bcc79c12
commit
1a2381828e
1 file changed
+1
-1
@@ -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