From: Benjamin Peterson Date: Mon, 26 May 2014 22:10:42 +0000 (-0700) Subject: fix typo in variable name (closes #21586) X-Git-Tag: v3.4.2rc1~500 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=419f1fa9bcd05167c91479348f9c8403d1c77cab;p=python fix typo in variable name (closes #21586) --- diff --git a/Doc/howto/sockets.rst b/Doc/howto/sockets.rst index 820beb5cff..c04fd5577f 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)