Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 419f1fa

Browse files
committed
fix typo in variable name (closes #21586)
1 parent dea46ec commit 419f1fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/howto/sockets.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ length message::
210210
chunk = self.sock.recv(min(MSGLEN - bytes_recd, 2048))
211211
if chunk == b'':
212212
raise RuntimeError("socket connection broken")
213-
chucks.append(chunk)
213+
chunks.append(chunk)
214214
bytes_recd = bytes_recd + len(chunk)
215215
return b''.join(chunks)
216216

0 commit comments

Comments
 (0)