[Python-checkins] cpython: Issue 27921: Remove backslash from another f-string.
eric.smith
python-checkins at python.org
Sat Sep 3 10:43:25 EDT 2016
https://hg.python.org/cpython/rev/899ee1e68a8d
changeset: 103015:899ee1e68a8d
user: Eric V. Smith <eric at trueblade.com>
date: Sat Sep 03 10:43:20 2016 -0400
summary:
Issue 27921: Remove backslash from another f-string.
files:
Lib/http/client.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/http/client.py b/Lib/http/client.py
--- a/Lib/http/client.py
+++ b/Lib/http/client.py
@@ -1060,7 +1060,7 @@
if encode_chunked and self._http_vsn == 11:
# chunked encoding
- chunk = f'{len(chunk):X}\r\n'.encode('ascii') + chunk \
+ chunk = f'{len(chunk):X}''\r\n'.encode('ascii') + chunk \
+ b'\r\n'
self.send(chunk)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list