]> 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:30:38 +0000 (18:30 -0800)
committerGitHub <noreply@github.com>
Sat, 12 Nov 2022 02:30:38 +0000 (18:30 -0800)
commit92b531b8589b733c4e44e291f08271fa34947400
tree3a4c224a6ed8d52f96e212d6209996ffbdbab28d
parentd75b2e2fc865af0a020a12b23383d8061e9c6e59
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]