Skip to content

Commit

Permalink
Merge pull request #2175 from Jonxslays/bugfix/secho
Browse files Browse the repository at this point in the history
Fix typing in click.secho function
  • Loading branch information
davidism authored Jan 16, 2022
2 parents 928ee5b + f30d012 commit 1c58883
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Unreleased
- Fix a typo in the Bash completion script that affected file and
directory completion. If this script was generated by a previous
version, it should be regenerated. :issue:`2163`
- Fix typing for ``secho`` file argument. :issue:`2174`


Version 8.0.3
Expand Down
2 changes: 1 addition & 1 deletion src/click/termui.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ def unstyle(text: str) -> str:

def secho(
message: t.Optional[t.Any] = None,
file: t.Optional[t.IO] = None,
file: t.Optional[t.IO[t.AnyStr]] = None,
nl: bool = True,
err: bool = False,
color: t.Optional[bool] = None,
Expand Down

0 comments on commit 1c58883

Please sign in to comment.