Skip to content

Commit 37274cc

Browse files
committed
Fixed trailing space.
1 parent ecd4c5f commit 37274cc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Doc/library/argparse.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,13 +1130,13 @@ Any sequence can be passed as the *choices* value, so :class:`list` objects,
11301130
Use of :class:`enum.Enum` is not recommended because it is difficult to
11311131
control its appearance in usage, help, and error messages.
11321132

1133-
Note that *choices* are checked after any type_
1134-
conversions have been performed, so objects in *choices*
1135-
should match the type_ specified. This can make *choices*
1133+
Note that *choices* are checked after any type_
1134+
conversions have been performed, so objects in *choices*
1135+
should match the type_ specified. This can make *choices*
11361136
appear unfamiliar in usage, help, or error messages.
11371137

1138-
To keep *choices* user-friendly, consider a custom type wrapper that
1139-
converts and formats values, or omit type_ and handle conversion in
1138+
To keep *choices* user-friendly, consider a custom type wrapper that
1139+
converts and formats values, or omit type_ and handle conversion in
11401140
your application code.
11411141
Formatted choices override the default *metavar* which is normally derived
11421142
from *dest*. This is usually what you want because the user never sees the

0 commit comments

Comments
 (0)