Skip to content

Commit

Permalink
custom encoding warning
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielYang59 committed Dec 8, 2024
1 parent 5317c77 commit 76dcd63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/monty/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
from typing import IO, Any, Generator, Union


class EncodingWarning(Warning): ... # Added in Python 3.10


def zopen(
filename: Union[str, Path],
/,
Expand Down

0 comments on commit 76dcd63

Please sign in to comment.