commit | 2eff14d3333073b39082caa798c2d43f5d8c28e4 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Mon May 26 15:10:42 2014 -0700 |
committer | Benjamin Peterson <benjamin@python.org> | Mon May 26 15:10:42 2014 -0700 |
tree | 19db6191fd34dae25dd195219d061b7980af77b4 | |
parent | fb8899a597c5ef39706215a894fc8c5f5dbf85bc [diff] |
fix typo in variable name (closes #21586)
diff --git a/Doc/howto/sockets.rst b/Doc/howto/sockets.rst index 0a7fcf5..f8ac348 100644 --- a/Doc/howto/sockets.rst +++ b/Doc/howto/sockets.rst
@@ -213,7 +213,7 @@ chunk = self.sock.recv(min(MSGLEN - bytes_recd, 2048)) if chunk == '': raise RuntimeError("socket connection broken") - chucks.append(chunk) + chunks.append(chunk) bytes_recd = bytes_recd + len(chunk) return ''.join(chunks)