]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-80448: argparse: Fix IndexError on store_true action (GH-15656)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 12 Nov 2022 02:16:18 +0000 (18:16 -0800)
committerGitHub <noreply@github.com>
Sat, 12 Nov 2022 02:16:18 +0000 (18:16 -0800)
commit8d27e6294b73fa2b5c6ecbeee072bb05c30d2685
tree1dbbfd6aa36f71394b88f92bd31d8c2dc8c0b919
parentad5159b7de68bc7d2bc0e64dbb9fcfca6545f5d6
gh-80448: argparse: Fix IndexError on store_true action (GH-15656)

(cherry picked from commit e02cc6d42aee1f0a9ee629f76576eee478224d9d)

Co-authored-by: Hai Shi <shihai1992@gmail.com>
Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Lib/argparse.py
Lib/test/test_argparse.py
Misc/NEWS.d/next/Library/2019-09-03-15-45-19.bpo-36267.z42Ex7.rst [new file with mode: 0644]