]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-109475: Fix support of explicit option value "--" in argparse (GH-114814...
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 5 Feb 2024 21:04:11 +0000 (23:04 +0200)
committerGitHub <noreply@github.com>
Mon, 5 Feb 2024 21:04:11 +0000 (21:04 +0000)
commite1976399cd08a0aadeb094cee46b4ebf468fecd9
treeadc1c2fa5c5f487482bc2712df84762c38de5c58
parent98b2f4624a40eb374807842a7fb9d109375af99d
[3.11] gh-109475: Fix support of explicit option value "--" in argparse (GH-114814) (GH-115037)

For example "--option=--".
(cherry picked from commit 4aa4f0906df9fc9c6c6f6657f2c521468c6b1688)
Lib/argparse.py
Lib/test/test_argparse.py
Misc/NEWS.d/next/Library/2024-01-31-20-07-11.gh-issue-109475.lmTb9S.rst [new file with mode: 0644]