]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] 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:25:09 +0000 (19:25 +0100)
committerGitHub <noreply@github.com>
Mon, 19 Feb 2024 18:25:09 +0000 (18:25 +0000)
commitcffb4c78d3b2a8a724301e59fb39b73b20e544de
tree6a8b5a747ab312907d55278d0fec517148dbbf95
parentb434439bfbacba909a0368f4e0357dce480c517d
[3.12] gh-60346: Improve handling single-dash options in ArgumentParser.parse_known_args() (GH-114180) (GH-115675)

(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]