Skip to content
Myr

Merge branch '4.x-maintenance'

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

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parents 218d8b5, 42c8146 · Browse files · 2 files+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:click/core.py+1 added-1 removed
801 unmodified lines
802803class MultiCommand(Command):804 """A multi command is the basic implementation of a command that805 dispatches to subcommands. The most common version is the806 :class:`Command`.806 :class:`Group`.807808 :param invoke_without_command: this controls how the multi command itself809 is invoked. By default it's only invoked810 if a subcommand is provided.
813 unmodified lines
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