summaryrefslogtreecommitdiffstats
path: root/Lib/http
diff options
context:
space:
mode:
authorMike <mehanig@gmail.com>2017-12-14 11:04:53 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2017-12-14 11:04:53 (GMT)
commit53f7a7c2814fbfd8a29200926601a32fa48bacb3 (patch)
tree4f74255b4cf6af46480b3e48bdc2411dfede9e15 /Lib/http
parent5364b5cd7571f2dfa75acd37b388c14ac33fef73 (diff)
downloadcpython-53f7a7c2814fbfd8a29200926601a32fa48bacb3.zip
cpython-53f7a7c2814fbfd8a29200926601a32fa48bacb3.tar.gz
cpython-53f7a7c2814fbfd8a29200926601a32fa48bacb3.tar.bz2
bpo-32297: Few misspellings found in Python source code comments. (#4803)
* Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py
Diffstat (limited to 'Lib/http')
-rw-r--r--Lib/http/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/http/client.py b/Lib/http/client.py
index 70eadae..1a852cd 100644
--- a/Lib/http/client.py
+++ b/Lib/http/client.py
@@ -538,7 +538,7 @@ class HTTPResponse(io.BufferedIOBase):
chunk_left = self.chunk_left
if not chunk_left: # Can be 0 or None
if chunk_left is not None:
- # We are at the end of chunk. dicard chunk end
+ # We are at the end of chunk, discard chunk end
self._safe_read(2) # toss the CRLF at the end of the chunk
try:
chunk_left = self._read_next_chunk_size()