handlers should be an optional argument of logging.basicConfig() (#704)

This commit is contained in:
Naomi Seyfer
2016-11-24 01:21:10 -08:00
committed by Jukka Lehtosalo
parent b10125cd7d
commit c134fe7638

View File

@@ -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: ...