Skip to content
Myr

Fix type for `file` argument

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

authored by Yourun-Proger · committed by David Lord · parent e8b350b · Browse files · 2 files+3 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+3 added−2 removed

  • other:+3 added−2 removed

2 files+3 added−2 removed

modified:src/click/utils.py+1 added-1 removed
201 unmodified lines
202203204def echo(205 message: t.Optional[t.Any] = None,206 file: t.Optional[t.IO] = None,206 file: t.Optional[t.IO[t.Any]] = None,207 nl: bool = True,208 err: bool = False,209 color: t.Optional[bool] = None,210) -> None:
378 unmodified lines
modified:CHANGES.rst+2 added-1 removed
12 unmodified lines
13 ``__str__`` instead of always showing ``(dynamic)``. :issue:`2099`14- Fix a typo in the Bash completion script that affected file and15 directory completion. If this script was generated by a previous16 version, it should be regenerated. :issue:`2163`17- Fix typing for ``secho`` file argument. :issue:`2174`17- Fix typing for ``echo`` and ``secho`` file argument.18 :issue:`2174, 2185`192021Version 8.0.322-------------
930 unmodified lines