summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-03-31 18:54:18 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-03-31 18:54:18 (GMT)
commitea3307bf3f8bc9e3af867dba56ee49042c901ab0 (patch)
treea856ffec32e0ec2a6b8c71fef119ff0665b1c328
parent43445315ae13e69b781d2983ff06ab9a804a816c (diff)
downloadcpython-ea3307bf3f8bc9e3af867dba56ee49042c901ab0.zip
cpython-ea3307bf3f8bc9e3af867dba56ee49042c901ab0.tar.gz
cpython-ea3307bf3f8bc9e3af867dba56ee49042c901ab0.tar.bz2
Fix method names. Will backport.
-rw-r--r--Modules/socketmodule.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 96682ca..21270a3 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -2384,7 +2384,7 @@ sock_recv_into(PySocketSockObject *s, PyObject *args, PyObject *kwds)
int buflen;
/* Get the buffer's memory */
- if (!PyArg_ParseTupleAndKeywords(args, kwds, "w#|ii:recv", kwlist,
+ if (!PyArg_ParseTupleAndKeywords(args, kwds, "w#|ii:recv_into", kwlist,
&buf, &buflen, &recvlen, &flags))
return NULL;
assert(buf != 0 && buflen > 0);
@@ -2559,8 +2559,9 @@ sock_recvfrom_into(PySocketSockObject *s, PyObject *args, PyObject* kwds)
PyObject *addr = NULL;
- if (!PyArg_ParseTupleAndKeywords(args, kwds, "w#|ii:recvfrom", kwlist,
- &buf, &buflen, &recvlen, &flags))
+ if (!PyArg_ParseTupleAndKeywords(args, kwds, "w#|ii:recvfrom_into",
+ kwlist, &buf, &buflen,
+ &recvlen, &flags))
return NULL;
assert(buf != 0 && buflen > 0);