mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-28 23:33:17 +08:00
Changed logging.lastResort type to Handler (#11872)
This commit is contained in:
1 parent
16dadc8fb5
commit
3e3fd0dd86
1 file changed
+1
-1
@@ -587,7 +587,7 @@ def setLoggerClass(klass: type[Logger]) -> None: ...
|
||||
def captureWarnings(capture: bool) -> None: ...
|
||||
def setLogRecordFactory(factory: Callable[..., LogRecord]) -> None: ...
|
||||
|
||||
lastResort: StreamHandler[Any] | None
|
||||
lastResort: Handler | None
|
||||
|
||||
_StreamT = TypeVar("_StreamT", bound=SupportsWrite[str])
|
||||
|
||||
|
||||
Reference in new issue
Block a user