[Python-checkins] Fix typo in docstring (GH-23515)

asvetlov webhook-mailer at python.org
Mon Dec 21 09:06:40 EST 2020


https://github.com/python/cpython/commit/711381dfb09fbd434cc3b404656f7fd306161a64
commit: 711381dfb09fbd434cc3b404656f7fd306161a64
branch: master
author: Fernando Toledo <42938011+fernandohtr at users.noreply.github.com>
committer: asvetlov <andrew.svetlov at gmail.com>
date: 2020-12-21T16:06:31+02:00
summary:

Fix typo in docstring (GH-23515)

files:
M Lib/http/client.py

diff --git a/Lib/http/client.py b/Lib/http/client.py
index a54679cf84d18..4eca93ef2685a 100644
--- a/Lib/http/client.py
+++ b/Lib/http/client.py
@@ -861,7 +861,7 @@ def set_tunnel(self, host, port=None, headers=None):
         the endpoint passed to `set_tunnel`. This done by sending an HTTP
         CONNECT request to the proxy server when the connection is established.
 
-        This method must be called before the HTML connection has been
+        This method must be called before the HTTP connection has been
         established.
 
         The headers argument should be a mapping of extra HTTP headers to send



More information about the Python-checkins mailing list