Skip to content
Myr

Remove assertion already covered by the type annotation

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 8386598 · Browse files · 1 file+0 added−2 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#r2289115405

Diff stats

1 file+0 added−2 removed

  • other:+0 added−2 removed

1 file+0 added−2 removed

modified:src/click/termui.py-2 removed
218 unmodified lines
219220 .. versionadded:: 4.0221 Added the ``err`` parameter.222 """223 assert default in (True, False, None), "default must be True, False, or None"224223 prompt = _build_prompt(224 text,225 prompt_suffix,226 show_default,
651 unmodified lines