Skip to content

Commit 1a22511

Browse files
committed
Fix typo
1 parent 1a4917e commit 1a22511

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/argparse.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,8 @@ Note that, by default, inclusion in the *choices* sequence is checked after
11621162
any type_ conversions have been performed, so the type of the objects in the
11631163
*choices* sequence should match the type_ specified. This can lead to
11641164
confusing ``usage`` messages. If you want to convert *choices* using type_
1165-
before checking, set the ``convert_choices`` flag on :class:'`ArgumentParser`.
1165+
before checking, set the ``convert_choices`` flag on :class:`~ArgumentParser`.
1166+
11661167

11671168
Any sequence can be passed as the *choices* value, so :class:`list` objects,
11681169
:class:`tuple` objects, and custom sequences are all supported.

0 commit comments

Comments
 (0)