summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric V. Smith <eric@trueblade.com>2016-09-03 14:43:20 (GMT)
committerEric V. Smith <eric@trueblade.com>2016-09-03 14:43:20 (GMT)
commit6e025608a291604c4a125da1e6278c61733d7c3e (patch)
tree4ead859f8e9da0a99725e6c75a42f2f45c24e4a8
parent6a4efce7a50f1339dd67f892cc8746f5c1047ada (diff)
downloadcpython-6e025608a291604c4a125da1e6278c61733d7c3e.zip
cpython-6e025608a291604c4a125da1e6278c61733d7c3e.tar.gz
cpython-6e025608a291604c4a125da1e6278c61733d7c3e.tar.bz2
Issue 27921: Remove backslash from another f-string.
-rw-r--r--Lib/http/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/http/client.py b/Lib/http/client.py
index 9107412..230bcce 100644
--- a/Lib/http/client.py
+++ b/Lib/http/client.py
@@ -1060,7 +1060,7 @@ class HTTPConnection:
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)