diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-05-26 22:10:42 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-05-26 22:10:42 (GMT) |
commit | 419f1fa9bcd05167c91479348f9c8403d1c77cab (patch) | |
tree | 17f5bc4bd3d279f8ceab5688fb4fe3f368734e17 /Doc/howto | |
parent | dea46ec9654a6412e74a6f8dfbdf97ff97516670 (diff) | |
download | cpython-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.rst | 2 |
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) |