mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-03-14 02:36:44 +08:00
update for the new patch releases (#13196)
This commit is contained in:
@@ -237,7 +237,13 @@ class ArgumentParser(_AttributeHolder, _ActionsContainer):
|
||||
# undocumented
|
||||
def _get_optional_actions(self) -> list[Action]: ...
|
||||
def _get_positional_actions(self) -> list[Action]: ...
|
||||
def _parse_known_args(self, arg_strings: list[str], namespace: Namespace) -> tuple[Namespace, list[str]]: ...
|
||||
if sys.version_info >= (3, 12):
|
||||
def _parse_known_args(
|
||||
self, arg_strings: list[str], namespace: Namespace, intermixed: bool
|
||||
) -> tuple[Namespace, list[str]]: ...
|
||||
else:
|
||||
def _parse_known_args(self, arg_strings: list[str], namespace: Namespace) -> tuple[Namespace, list[str]]: ...
|
||||
|
||||
def _read_args_from_files(self, arg_strings: list[str]) -> list[str]: ...
|
||||
def _match_argument(self, action: Action, arg_strings_pattern: str) -> int: ...
|
||||
def _match_arguments_partial(self, actions: Sequence[Action], arg_strings_pattern: str) -> list[int]: ...
|
||||
|
||||
Reference in New Issue
Block a user