Skip to content
Myr

Do not mention UNSET

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

authored by Kevin Deldycke · committed by Kevin Deldycke · parent cf0e524 · 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.

Trailers

  • Address: https://github.com/pallets/click/pull/3030/files#r2288967052

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
2246 unmodified lines
2247 If the parser did not produce a value from user input, the value is either2248 sourced from the environment variable, the default map, or the parameter's2249 default value. In that order of precedence.22502251 If no value is found, the value is returned as :attr:`UNSET`.2251 If no value is found, an internal sentinel value is returned.2252 """2253 # If the value is set, it means the parser produced a value from user input.2254 value = opts.get(self.name, UNSET) # type: ignore2255 source = (
1017 unmodified lines