-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
… (GH-126046) (cherry picked from commit 0922a4a) (cherry picked from commit ff044ed) Co-authored-by: Serhiy Storchaka <[email protected]> Co-authored-by: Tomas R. <[email protected]>
- Loading branch information
1 parent
4fc1da1
commit f07c1a0
Showing
4 changed files
with
103 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
(default: %(default)s) | ||
%(heading)s: | ||
%(prog)s: error: %(message)s\n | ||
%r is not callable | ||
'required' is an invalid argument for positionals | ||
.__call__() not defined | ||
ambiguous option: %(option)s could match %(matches)s | ||
argument "-" with mode %r | ||
argument %(argument_name)s: %(message)s | ||
can't open '%(filename)s': %(error)s | ||
cannot have multiple subparser arguments | ||
cannot merge actions - two groups are named %r | ||
conflicting subparser alias: %s | ||
conflicting subparser: %s | ||
dest= is required for options like %r | ||
expected at least one argument | ||
expected at most one argument | ||
expected one argument | ||
ignored explicit argument %r | ||
invalid %(type)s value: %(value)r | ||
invalid choice: %(value)r (choose from %(choices)s) | ||
invalid conflict_resolution value: %r | ||
invalid option string %(option)r: must start with a character %(prefix_chars)r | ||
mutually exclusive arguments must be optional | ||
not allowed with argument %s | ||
one of the arguments %s is required | ||
options | ||
positional arguments | ||
show program's version number and exit | ||
show this help message and exit | ||
subcommands | ||
the following arguments are required: %s | ||
unexpected option string: %s | ||
unknown parser %(parser_name)r (choices: %(choices)s) | ||
unrecognized arguments: %s | ||
usage: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Tests/2024-09-30-22-52-44.gh-issue-124295.VZy5kx.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add translation tests to the :mod:`argparse` module. |