mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 05:22:23 +08:00
stdlib: add argument default values (#9501)
This commit is contained in:
@@ -49,9 +49,9 @@ def dictConfig(config: _DictConfigArgs | dict[str, Any]) -> None: ...
|
||||
if sys.version_info >= (3, 10):
|
||||
def fileConfig(
|
||||
fname: StrOrBytesPath | IO[str] | RawConfigParser,
|
||||
defaults: dict[str, str] | None = ...,
|
||||
disable_existing_loggers: bool = ...,
|
||||
encoding: str | None = ...,
|
||||
defaults: dict[str, str] | None = None,
|
||||
disable_existing_loggers: bool = True,
|
||||
encoding: str | None = None,
|
||||
) -> None: ...
|
||||
|
||||
else:
|
||||
@@ -62,5 +62,5 @@ else:
|
||||
) -> None: ...
|
||||
|
||||
def valid_ident(s: str) -> Literal[True]: ... # undocumented
|
||||
def listen(port: int = ..., verify: Callable[[bytes], bytes | None] | None = ...) -> Thread: ...
|
||||
def listen(port: int = 9030, verify: Callable[[bytes], bytes | None] | None = None) -> Thread: ...
|
||||
def stopListening() -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user