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:
Miss Islington (bot) 2021-10-13 10:15:43 -07:00 committed by GitHub
parent f8473f6f76
commit fd2be6da2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 5 deletions

View file

@ -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.