Skip to content
Myr

Correct some typos (#2496)

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

authored by Alexander Seiler · committed by GitHub · parent 6e05e1f · 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.

Trailers

  • Signed-off-by: Alexander Seiler <seileralex@gmail.com>

Diff stats

2 files+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:src/click/core.py+2 added-2 removed
947 unmodified lines
948 def invoke(self, ctx: Context) -> t.Any:949 """Given a context, this invokes the command. The default950 implementation is raising a not implemented error.951 """952 raise NotImplementedError("Base commands are not invokable by default")952 raise NotImplementedError("Base commands are not invocable by default")953954 def shell_complete(self, ctx: Context, incomplete: str) -> t.List["CompletionItem"]:955 """Return a list of completions for the incomplete value. Looks956 at the names of chained multi-commands.
820 unmodified lines
1777 :class:`MultiCommand`, :class:`Command`, and1778 :class:`BaseCommand`.17791780 .. versionchanged:: 8.01781 The ``commmands`` argument can be a list of command objects.1781 The ``commands`` argument can be a list of command objects.1782 """17831784 #: If set, this is used by the group's :meth:`command` decorator1785 #: as the default :class:`Command` class. This is useful to make all
1231 unmodified lines
modified:src/click/parser.py+1 added-1 removed
449 unmodified lines
450451 if stop:452 break453454 # If we got any unknown options we re-combinate the string of the454 # If we got any unknown options we recombine the string of the455 # remaining options and re-attach the prefix, then report that456 # to the state as new larg. This way there is basic combinatorics457 # that can be achieved while still ignoring unknown arguments.458 if self.ignore_unknown_options and unknown_options:
71 unmodified lines