summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2007-08-22 21:38:31 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2007-08-22 21:38:31 (GMT)
commite405037abc60657d7865fa02b248b84825715a2d (patch)
tree8ea66a4490e162eafe9b13d7a06563ecf5d0f2d8 /Modules/socketmodule.c
parent7a4dbaf8373b507430fb41f0744eef0cdd3df1b4 (diff)
downloadcpython-e405037abc60657d7865fa02b248b84825715a2d.zip
cpython-e405037abc60657d7865fa02b248b84825715a2d.tar.gz
cpython-e405037abc60657d7865fa02b248b84825715a2d.tar.bz2
Fix typo in comment
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 3ad7039..e157c3d 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -2207,9 +2207,9 @@ sock_recv(PySocketSockObject *s, PyObject *args)
}
if (outlen != recvlen) {
/* We did not read as many bytes as we anticipated, resize the
- string if possible and be succesful. */
+ string if possible and be successful. */
if (PyBytes_Resize(buf, outlen) < 0)
- /* Oopsy, not so succesful after all. */
+ /* Oopsy, not so successful after all. */
return NULL;
}