mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
handlers should be an optional argument of logging.basicConfig() (#704)
This commit is contained in:
committed by
Jukka Lehtosalo
parent
b10125cd7d
commit
c134fe7638
@@ -311,7 +311,7 @@ if sys.version_info >= (3,):
|
||||
def basicConfig(*, filename: str = ..., filemode: str = ...,
|
||||
format: str = ..., datefmt: str = ..., style: str = ...,
|
||||
level: int = ..., stream: IO[str] = ...,
|
||||
handlers: Iterable[Handler]) -> None: ...
|
||||
handlers: Iterable[Handler] = ...) -> None: ...
|
||||
else:
|
||||
@overload
|
||||
def basicConfig() -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user