diff options
Diffstat (limited to 'Lib/cgi.py')
-rwxr-xr-x | Lib/cgi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cgi.py b/Lib/cgi.py index 6f76cb5c24..4cf9609299 100755 --- a/Lib/cgi.py +++ b/Lib/cgi.py @@ -776,7 +776,7 @@ class FieldStorage: """ import tempfile - return tempfile.TemporaryFile("w+") + return tempfile.TemporaryFile("w+", encoding="utf-8", newline="\n") |