From: Eric V. Smith Date: Sat, 3 Sep 2016 14:43:20 +0000 (-0400) Subject: Issue 27921: Remove backslash from another f-string. X-Git-Tag: v3.6.0b1~490 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6e025608a291604c4a125da1e6278c61733d7c3e;p=thirdparty%2FPython%2Fcpython.git Issue 27921: Remove backslash from another f-string. --- diff --git a/Lib/http/client.py b/Lib/http/client.py index 91074129225c..230bccec988b 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)