Skip to content

Commit c18ed75

Browse files
committed
More doctest fixes
1 parent 64eee10 commit c18ed75

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Doc/library/argparse.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,6 +1186,7 @@ To specify ``choices`` before conversion, set the flag ``convert_choices``.
11861186
... choices=['mo', 'tu', 'we', 'th', 'fr', 'sa', 'su'],
11871187
... convert_choices=True,
11881188
... type=to_dow)
1189+
_StoreAction(option_strings=[], dest='when', nargs=None, const=None, default=None, type=<function to_dow at 0x7f3ff4d0ebd0>, choices=['mo', 'tu', 'we', 'th', 'fr', 'sa', 'su'], convert_choices=True, required=True, help=None, metavar=None, deprecated=False)
11891190
>>> parser.print_help()
11901191
usage: sphinx-build [-h] {mo,tu,we,th,fr,sa,su}
11911192

@@ -1194,6 +1195,7 @@ To specify ``choices`` before conversion, set the flag ``convert_choices``.
11941195

11951196
options:
11961197
-h, --help show this help message and exit
1198+
>>>
11971199

11981200
.. versionadded:: next
11991201

0 commit comments

Comments
 (0)