This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Lucas Cimon
Recipients Lucas Cimon
Date 2019-10-24.14:40:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1571928054.48.0.618310381662.issue38584@roundup.psfhosted.org>
In-reply-to
Content
The test I am going to add to test_argparse.py:

    def test_whitespace_help(self):
        parser = self._get_parser()
        parser.add_argument(
            '--foo2', action='store_true', help=' ')
        parser.add_argument(
            'bar2', type=float, help=' ')
        parser.format_help()  # raises an IndexError
History
Date User Action Args
2019-10-24 14:40:54Lucas Cimonsetrecipients: + Lucas Cimon
2019-10-24 14:40:54Lucas Cimonsetmessageid: <1571928054.48.0.618310381662.issue38584@roundup.psfhosted.org>
2019-10-24 14:40:54Lucas Cimonlinkissue38584 messages
2019-10-24 14:40:54Lucas Cimoncreate