]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-53780: Ignore the first "--" (double dash) between an option and command...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 24 Sep 2024 07:54:32 +0000 (09:54 +0200)
committerGitHub <noreply@github.com>
Tue, 24 Sep 2024 07:54:32 +0000 (07:54 +0000)
commit0e838b52fe323569138ac2f74979d99336067296
tree23818f5f8ebbdc142179382dc59398eef5adc58e
parente57fbe3d2d26677d51a50c252675e4ca226eca32
[3.12] gh-53780: Ignore the first "--" (double dash) between an option and command in argparse (GH-124275) (GH-124420)

(cherry picked from commit c578271366176a1d1b0941897efefb6e4d6508b4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/argparse.py
Lib/test/test_argparse.py
Misc/NEWS.d/next/Library/2024-09-20-12-23-11.gh-issue-53780.mrV1zi.rst [new file with mode: 0644]