]> granicus.if.org Git - python/commitdiff
fix typo in variable name (closes #21586)
authorBenjamin Peterson <benjamin@python.org>
Mon, 26 May 2014 22:10:42 +0000 (15:10 -0700)
committerBenjamin Peterson <benjamin@python.org>
Mon, 26 May 2014 22:10:42 +0000 (15:10 -0700)
Doc/howto/sockets.rst

index 820beb5cff2d1a9a6f5c63767813bdd0990dad54..c04fd5577f658dd35a94a7c19436aefff23e9f13 100644 (file)
@@ -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)