forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
- Loading branch information
1 parent
c3a688b
commit 41d67ce
Showing
2 changed files
with
9 additions
and
8 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
7 changes: 4 additions & 3 deletions
7
Misc/NEWS.d/next/Library/2024-10-28-11-33-59.gh-issue-126068.Pdznm_.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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
Fix exceptions in the :mod:`argparse` module. Only error messages for | ||
ArgumentError and ArgumentTypeError are now translated. ArgumentError is now | ||
only used for command line errors, not for logical errors in the program. | ||
Fix exceptions in the :mod:`argparse` module so that only error messages for | ||
:exc:`ArgumentError` and :exc:`ArgumentTypeError` are now translated. | ||
:exc:`ArgumentError` is now only used for command line errors, not for logical | ||
errors in the program. |