mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
Some nits.
This commit is contained in:
parent
51b7abc519
commit
f03facfe90
3 changed files with 10 additions and 10 deletions
|
@ -659,7 +659,8 @@ class HTTPConnection:
|
|||
|
||||
def connect(self):
|
||||
"""Connect to the host and port specified in __init__."""
|
||||
self.sock = socket.create_connection((self.host,self.port), self.timeout)
|
||||
self.sock = socket.create_connection((self.host,self.port),
|
||||
self.timeout)
|
||||
|
||||
def close(self):
|
||||
"""Close the connection to the HTTP server."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue