Skip to content

Commit

Permalink
πŸ§Žβ€β™€οΈ Genuflect to the types.
Browse files Browse the repository at this point in the history
Workaround for python/mypy#2904
  • Loading branch information
jaraco committed Feb 20, 2021
1 parent 2471f68 commit e1b2543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jaraco/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,6 @@ def _(content: bytes, path):
path.write_bytes(content)


@create.register
@create.register # type: ignore[no-redef]
def _(content: str, path):
path.write_text(content)

0 comments on commit e1b2543

Please sign in to comment.