Skip to content
Myr

Merge pull request #1928 from pocek/fix-incorrect-reference

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

Correct docstring reference

authored by David Lord · committed by GitHub · parents 6e03118, de6b1ab · 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:src/click/core.py+1 added-1 removed
2195 unmodified lines
2196 def get_default(2197 self, ctx: Context, call: bool = True2198 ) -> t.Optional[t.Union[t.Any, t.Callable[[], t.Any]]]:2199 """Get the default for the parameter. Tries2200 :meth:`Context.lookup_value` first, then the local default.2200 :meth:`Context.lookup_default` first, then the local default.22012202 :param ctx: Current context.2203 :param call: If the default is a callable, call it. Disable to2204 return the callable instead.
753 unmodified lines