Skip to content

Commit

Permalink
Merge pull request #2395 from JelleZijlstra/patch-1
Browse files Browse the repository at this point in the history
Broaden allowed return type of write callable
  • Loading branch information
davidism authored Apr 25, 2022
2 parents 43f726f + da6dafb commit 988f009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/werkzeug/middleware/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def close(self) -> None:


class GuardedWrite:
def __init__(self, write: t.Callable[[bytes], None], chunks: t.List[int]) -> None:
def __init__(self, write: t.Callable[[bytes], object], chunks: t.List[int]) -> None:
self._write = write
self._chunks = chunks

Expand Down

0 comments on commit 988f009

Please sign in to comment.