Skip to content

Commit 7b84bca

Browse files
committed
Fix docs
1 parent 419b328 commit 7b84bca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/argparse.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ By default, when a user passes both a ``type`` and a ``choices`` argument, the
621621
``choices`` need to be specified in the target type, after conversion.
622622
This can cause confusing ``usage`` and ``help`` strings. If the user would like
623623
to specify ``choices`` in the same vocabulary as the end-user would enter them,
624-
this feature can be enabled by setting ``convert_choices`` to ``True``.
624+
this feature can be enabled by setting ``convert_choices`` to ``True``::
625625

626626
>>> parser = argparse.ArgumentParser(convert_choices=True)
627627
>>> parser.add_argument('when',

0 commit comments

Comments
 (0)