summaryrefslogtreecommitdiffstats
path: root/Lib/httplib.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-03-26 20:28:28 (GMT)
committerGeorg Brandl <georg@python.org>2007-03-26 20:28:28 (GMT)
commitf03facfe901d63df4ba83dab0677eb1379b7cb2c (patch)
tree528c9ea62bd29658edd6b3fbc4c7c64f71be8648 /Lib/httplib.py
parent51b7abc5199cb87d9e17fbbb276a6695888d12f1 (diff)
downloadcpython-f03facfe901d63df4ba83dab0677eb1379b7cb2c.zip
cpython-f03facfe901d63df4ba83dab0677eb1379b7cb2c.tar.gz
cpython-f03facfe901d63df4ba83dab0677eb1379b7cb2c.tar.bz2
Some nits.
Diffstat (limited to 'Lib/httplib.py')
-rw-r--r--Lib/httplib.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/httplib.py b/Lib/httplib.py
index 008f0a4..d420f46 100644
--- a/Lib/httplib.py
+++ b/Lib/httplib.py
@@ -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."""