]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109475: Fix support of explicit option value "--" in argparse (GH-114814)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 5 Feb 2024 20:42:43 +0000 (22:42 +0200)
committerGitHub <noreply@github.com>
Mon, 5 Feb 2024 20:42:43 +0000 (22:42 +0200)
commit4aa4f0906df9fc9c6c6f6657f2c521468c6b1688
tree7981fa18e770c7ce82517eec79b3944ce5a84d4e
parent750489cc774df44daa2c0d23e8a404fe62be93d1
gh-109475: Fix support of explicit option value "--" in argparse (GH-114814)

For example "--option=--".
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]