]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-60346: Improve handling single-dash options in ArgumentParser.parse_known_a...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 19 Feb 2024 18:20:51 +0000 (19:20 +0100)
committerGitHub <noreply@github.com>
Mon, 19 Feb 2024 18:20:51 +0000 (18:20 +0000)
commitc02b7ae4dd367444aa6822d5fb73b61e8f5a4ff9
tree89e83079847ca87eb8f38e5ebf33a12a1d4d3fb0
parente1994c43c0086e049c70aa895d34434bda67eaf9
[3.11] gh-60346: Improve handling single-dash options in ArgumentParser.parse_known_args() (GH-114180) (GH-115674)

(cherry picked from commit e47ecbd0420528f1f9f282d9e7acfcf586a4caa1)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/argparse.py
Lib/test/test_argparse.py
Misc/NEWS.d/next/Library/2023-04-02-21-20-35.gh-issue-60346.7mjgua.rst [new file with mode: 0644]