summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-11-12 02:16:18 (GMT)
committerGitHub <noreply@github.com>2022-11-12 02:16:18 (GMT)
commit8d27e6294b73fa2b5c6ecbeee072bb05c30d2685 (patch)
tree1dbbfd6aa36f71394b88f92bd31d8c2dc8c0b919 /Misc/NEWS.d
parentad5159b7de68bc7d2bc0e64dbb9fcfca6545f5d6 (diff)
downloadcpython-8d27e6294b73fa2b5c6ecbeee072bb05c30d2685.zip
cpython-8d27e6294b73fa2b5c6ecbeee072bb05c30d2685.tar.gz
cpython-8d27e6294b73fa2b5c6ecbeee072bb05c30d2685.tar.bz2
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>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2019-09-03-15-45-19.bpo-36267.z42Ex7.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-09-03-15-45-19.bpo-36267.z42Ex7.rst b/Misc/NEWS.d/next/Library/2019-09-03-15-45-19.bpo-36267.z42Ex7.rst
new file mode 100644
index 0000000..7c9b592
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-09-03-15-45-19.bpo-36267.z42Ex7.rst
@@ -0,0 +1 @@
+Fix IndexError in :class:`argparse.ArgumentParser` when a ``store_true`` action is given an explicit argument.