mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
gh-80448: argparse: Fix IndexError on store_true action (GH-15656)
(cherry picked from commit e02cc6d42a)
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>
This commit is contained in:
parent
ad5159b7de
commit
8d27e6294b
3 changed files with 7 additions and 2 deletions
|
|
@ -0,0 +1 @@
|
|||
Fix IndexError in :class:`argparse.ArgumentParser` when a ``store_true`` action is given an explicit argument.
|
||||
Loading…
Add table
Add a link
Reference in a new issue