summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_getpass.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-10-30 16:14:27 (GMT)
committerGitHub <noreply@github.com>2024-10-30 16:14:27 (GMT)
commitcc9a1839930d30450b12c460eee58137e3a3d6f1 (patch)
treedb14b19fff9351f42b2819a76b6b98e5ba154cbd /Lib/test/test_getpass.py
parent1f16df4bfe5cfbe4ac40cc9c6d15f44bcfd99a64 (diff)
downloadcpython-cc9a1839930d30450b12c460eee58137e3a3d6f1.zip
cpython-cc9a1839930d30450b12c460eee58137e3a3d6f1.tar.gz
cpython-cc9a1839930d30450b12c460eee58137e3a3d6f1.tar.bz2
gh-126068: Fix exceptions in the argparse module (GH-126069)
* 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. * TypeError is now raised instead of ValueError for some logical errors.
Diffstat (limited to 'Lib/test/test_getpass.py')
0 files changed, 0 insertions, 0 deletions