summaryrefslogtreecommitdiffstats
path: root/Lib/httplib.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-07-16 21:41:43 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2002-07-16 21:41:43 (GMT)
commite3252ec6cf3e590ebec3df1a7d564b42d7e47847 (patch)
tree9ad6d7b805071327071b54a698f0f5b93c7c3feb /Lib/httplib.py
parentc411dbaeee29dba87d5432a92fe76ea65d8e25f0 (diff)
downloadcpython-e3252ec6cf3e590ebec3df1a7d564b42d7e47847.zip
cpython-e3252ec6cf3e590ebec3df1a7d564b42d7e47847.tar.gz
cpython-e3252ec6cf3e590ebec3df1a7d564b42d7e47847.tar.bz2
Fix typos and such caught by the pycheckerbot.
Diffstat (limited to 'Lib/httplib.py')
-rw-r--r--Lib/httplib.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/httplib.py b/Lib/httplib.py
index 71a0e50..8835feb 100644
--- a/Lib/httplib.py
+++ b/Lib/httplib.py
@@ -544,7 +544,7 @@ class HTTPConnection:
else:
raise NotConnected()
- # send the data to the server. if we get a broken pipe, then closesdwu
+ # send the data to the server. if we get a broken pipe, then close
# the socket. we want to reconnect when somebody tries to send again.
#
# NOTE: we DO propagate the error, though, because we cannot simply
@@ -561,14 +561,14 @@ class HTTPConnection:
def _output(self, s):
"""Add a line of output to the current request buffer.
- Aassumes that the line does *not* end with \r\n.
+ Assumes that the line does *not* end with \\r\\n.
"""
self._buffer.append(s)
def _send_output(self):
"""Send the currently buffered request and clear the buffer.
- Appends an extra \r\n to the buffer.
+ Appends an extra \\r\\n to the buffer.
"""
self._buffer.extend(("", ""))
msg = "\r\n".join(self._buffer)