Skip to content

Commit

Permalink
Merge pull request #16704 from bgruening/universial_newline
Browse files Browse the repository at this point in the history
[23.1] FileInput no longer accept 'U' in the file mode
  • Loading branch information
mvdbeek authored Sep 17, 2023
2 parents 2eeddee + a9f5400 commit 3e991f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/filters/convert_characters.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __main__():
from_ch += "+"

skipped = 0
with open(args[0], "rU") as fin:
with open(args[0]) as fin:
with open(args[2], "w") as fout:
for line in fin:
if options.strip:
Expand Down

0 comments on commit 3e991f1

Please sign in to comment.