Skip to content
Myr

Minor typo correction

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Adding commas Minor grammatical correction

authored by Yuval Langer · committed by Yuval Langer · parent 308cc08 · Browse files · 2 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:click/types.py+2 added-2 removed
114 unmodified lines
115 return 'STRING'116117118class Choice(ParamType):119 """The choice type allows a value to checked against a fixed set of119 """The choice type allows a value to be checked against a fixed set of120 supported values. All of these values have to be strings.121122 See :ref:`choice-opts` for an example.123 """
204 unmodified lines
328329330class Path(ParamType):331 """The path type is similar to the :class:`File` type but it performs332 different checks. First of all, instead of returning a open file332 different checks. First of all, instead of returning an open file333 handle it returns just the filename. Secondly, it can perform various334 basic checks about what the file or directory should be.335336 :param exists: if set to true, the file or directory needs to exist for
139 unmodified lines
modified:docs/parameters.rst+1 added-1 removed
24 unmodified lines
25* options are fully documented in the help page, arguments are not26 (this is intentional as arguments might be too specific to be27 automatically documented)2829On the other hand arguments unlike options can accept an arbitrary number29On the other hand arguments, unlike options, can accept an arbitrary number30of arguments. Options can strictly ever only accept a fixed number of31arguments (defaults to 1).3233Parameter Types
87 unmodified lines