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

@@ -85,8 +85,8 @@ class EnumMeta(ABCMeta):
bases: tuple[type, ...],
classdict: _EnumDict,
*,
boundary: FlagBoundary | None = ...,
_simple: bool = ...,
boundary: FlagBoundary | None = None,
_simple: bool = False,
**kwds: Any,
) -> Self: ...
elif sys.version_info >= (3, 9):
@@ -275,6 +275,6 @@ if sys.version_info >= (3, 11):
KEEP = FlagBoundary.KEEP
def global_str(self: Enum) -> str: ...
def global_enum(cls: _EnumerationT, update_str: bool = ...) -> _EnumerationT: ...
def global_enum(cls: _EnumerationT, update_str: bool = False) -> _EnumerationT: ...
def global_enum_repr(self: Enum) -> str: ...
def global_flag_repr(self: Flag) -> str: ...