Even available without import since 3.5

This commit is contained in:
Fabian Wunsch 2022-04-09 23:32:17 +02:00
parent c91df97e25
commit a052531c13

View file

@ -2,7 +2,6 @@
import re
import json
import io
"""
Examples:
@ -327,7 +326,7 @@ def go(path):
print(f"{len(entries)} checked.")
with io.open(path, "w", encoding='utf-8', newline='\r\n') as f2:
with open(path, "w", encoding='utf-8', newline='\r\n') as f2:
f2.write(per_line_entries(entries))
print("Writing completed. All done.")