summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-05-26 22:10:42 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-05-26 22:10:42 (GMT)
commit419f1fa9bcd05167c91479348f9c8403d1c77cab (patch)
tree17f5bc4bd3d279f8ceab5688fb4fe3f368734e17 /Doc/howto
parentdea46ec9654a6412e74a6f8dfbdf97ff97516670 (diff)
downloadcpython-419f1fa9bcd05167c91479348f9c8403d1c77cab.zip
cpython-419f1fa9bcd05167c91479348f9c8403d1c77cab.tar.gz
cpython-419f1fa9bcd05167c91479348f9c8403d1c77cab.tar.bz2
fix typo in variable name (closes #21586)
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/sockets.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/sockets.rst b/Doc/howto/sockets.rst
index 820beb5..c04fd55 100644
--- a/Doc/howto/sockets.rst
+++ b/Doc/howto/sockets.rst
@@ -210,7 +210,7 @@ length message::
chunk = self.sock.recv(min(MSGLEN - bytes_recd, 2048))
if chunk == b'':
raise RuntimeError("socket connection broken")
- chucks.append(chunk)
+ chunks.append(chunk)
bytes_recd = bytes_recd + len(chunk)
return b''.join(chunks)