Some nits.

This commit is contained in:
Georg Brandl 2007-03-26 20:28:28 +00:00
parent 51b7abc519
commit f03facfe90
3 changed files with 10 additions and 10 deletions

View file

@ -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."""