summaryrefslogtreecommitdiffstats
path: root/Lib/queue.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-10-12 13:04:17 (GMT)
committerGitHub <noreply@github.com>2024-10-12 13:04:17 (GMT)
commit9944ad388c457325456152257b977410c4ec3593 (patch)
tree0c10a13b73c508ac8fb7af984dde584b3d5afa3b /Lib/queue.py
parent63cf4e914f879ee28a75c02e867baa7c6047ea2b (diff)
downloadcpython-9944ad388c457325456152257b977410c4ec3593.zip
cpython-9944ad388c457325456152257b977410c4ec3593.tar.gz
cpython-9944ad388c457325456152257b977410c4ec3593.tar.bz2
gh-85935: Check for nargs=0 for positional arguments in argparse (GH-124839)
Raise ValueError in add_argument() if either explicit nargs=0 or action that does not consume arguments (like 'store_const' or 'store_true') is specified for positional argument.
Diffstat (limited to 'Lib/queue.py')
0 files changed, 0 insertions, 0 deletions