Skip to content
Myr

Merge pull request #374 from Diaoul/patch-2

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

Typo in Tuple

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parents 1de2e21, d495fbc · Browse files · 1 file+1 added−1 removed
This commit

State

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

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:click/types.py+1 added-1 removed
416 unmodified lines
417418class Tuple(CompositeParamType):419 """The default behavior of Click is to apply a type on a value directly.420 This works well in most cases, except for when `nargs` is set to a fixed421 count and differnt types should be used for different items. In this421 count and different types should be used for different items. In this422 case the :class:`Tuple` type can be used. This type can only be used423 if `nargs` is set to a fixed number.424425 For more information see :ref:`tuple-type`.
90 unmodified lines