mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
bpo-24444: fix an error in argparse help when help for an option is blank (GH-28050) (GH-28931)
(cherry picked from commit 6fafc25aea)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
This commit is contained in:
parent
f8473f6f76
commit
fd2be6da2f
3 changed files with 44 additions and 5 deletions
|
|
@ -0,0 +1,2 @@
|
|||
Fixed an error raised in :mod:`argparse` help display when help for an
|
||||
option is set to 1+ blank spaces or when *choices* arg is an empty container.
|
||||
Loading…
Add table
Add a link
Reference in a new issue