summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b482c57353..ac6ede9e97 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)