stdlib: add argument default values (#9501)

This commit is contained in:
Jelle Zijlstra
2023-01-18 00:37:34 -08:00
committed by GitHub
parent 6cb934291f
commit ddfaca3200
272 changed files with 2529 additions and 2467 deletions

View File

@@ -12,18 +12,18 @@ if sys.version_info >= (3, 11):
def glob(
pathname: AnyStr,
*,
root_dir: StrOrBytesPath | None = ...,
dir_fd: int | None = ...,
recursive: bool = ...,
include_hidden: bool = ...,
root_dir: StrOrBytesPath | None = None,
dir_fd: int | None = None,
recursive: bool = False,
include_hidden: bool = False,
) -> list[AnyStr]: ...
def iglob(
pathname: AnyStr,
*,
root_dir: StrOrBytesPath | None = ...,
dir_fd: int | None = ...,
recursive: bool = ...,
include_hidden: bool = ...,
root_dir: StrOrBytesPath | None = None,
dir_fd: int | None = None,
recursive: bool = False,
include_hidden: bool = False,
) -> Iterator[AnyStr]: ...
elif sys.version_info >= (3, 10):