-
-
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
- Loading branch information
Showing
4 changed files
with
102 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,41 @@ | ||
(default: %(default)s) | ||
%(heading)s: | ||
%(prog)s: error: %(message)s\n | ||
%(prog)s: warning: %(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 | ||
argument '%(argument_name)s' is deprecated | ||
can't open '%(filename)s': %(error)s | ||
cannot have multiple subparser arguments | ||
cannot merge actions - two groups are named %r | ||
command '%(parser_name)s' is deprecated | ||
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 choice: %(value)r, maybe you meant %(closest)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 | ||
option '%(option)s' is deprecated | ||
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. |