Kaydet (Commit) 6e025608 authored tarafından Eric V. Smith's avatar Eric V. Smith

Issue 27921: Remove backslash from another f-string.

üst 6a4efce7
...@@ -1060,7 +1060,7 @@ class HTTPConnection: ...@@ -1060,7 +1060,7 @@ class HTTPConnection:
if encode_chunked and self._http_vsn == 11: if encode_chunked and self._http_vsn == 11:
# chunked encoding # 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' + b'\r\n'
self.send(chunk) self.send(chunk)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment