Skip to content
Myr

Merge pull request #2098 from 180909/fix-typos

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

fix typos

authored by David Lord · committed by GitHub · parents 83beb9f, 9bf84f8 · 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:src/click/core.py+1 added-1 removed
2767 unmodified lines
2768 self, ctx: Context, call: bool = True2769 ) -> t.Optional[t.Union[t.Any, t.Callable[[], t.Any]]]:2770 # If we're a non boolean flag our default is more complex because2771 # we need to look at all flags in the same group to figure out2772 # if we're the the default one in which case we return the flag2772 # if we're the default one in which case we return the flag2773 # value as default.2774 if self.is_flag and not self.is_bool_flag:2775 for param in ctx.command.params:2776 if param.name == self.name and param.default:
176 unmodified lines
modified:src/click/termui.py+1 added-1 removed
91 unmodified lines
92) -> t.Any:93 """Prompts a user for input. This is a convenience function that can94 be used to prompt a user for input later.9596 If the user aborts the input by sending a interrupt signal, this96 If the user aborts the input by sending an interrupt signal, this97 function will catch it and raise a :exc:`Abort` exception.9899 :param text: the text to show for the prompt.100 :param default: the default value to use if no input happens. If this
706 unmodified lines