[Python-checkins] cpython (2.7): fix typo in variable name (closes #21586)

benjamin.peterson python-checkins at python.org
Tue May 27 00:11:22 CEST 2014


http://hg.python.org/cpython/rev/dc2a123d538a
changeset:   90846:dc2a123d538a
branch:      2.7
parent:      90842:ba84d1e9a742
user:        Benjamin Peterson <benjamin at python.org>
date:        Mon May 26 15:10:42 2014 -0700
summary:
  fix typo in variable name (closes #21586)

files:
  Doc/howto/sockets.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/howto/sockets.rst b/Doc/howto/sockets.rst
--- 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)
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list