]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-61181: Fix support of choices with string value in argparse (GH-124578)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 29 Sep 2024 07:57:21 +0000 (10:57 +0300)
committerGitHub <noreply@github.com>
Sun, 29 Sep 2024 07:57:21 +0000 (10:57 +0300)
commitf1a2417b9e2993e584610851ac004c8b0599b323
tree5b6aec01fa50ef586c97d701a9ad4be743a170e0
parentdac4ec52866e4068f3ac33b4da1e1a1fe6fc2cba
gh-61181: Fix support of choices with string value in argparse (GH-124578)

Substrings of the specified string no longer considered valid values.
Doc/library/argparse.rst
Lib/argparse.py
Lib/test/test_argparse.py
Misc/NEWS.d/next/Library/2024-09-26-09-18-09.gh-issue-61181.dwjmch.rst [new file with mode: 0644]