Fix method names. Will backport.

This commit is contained in:
Neal Norwitz 2007-03-31 18:54:18 +00:00
parent 43445315ae
commit ea3307bf3f
1 changed files with 4 additions and 3 deletions

View File

@ -2384,7 +2384,7 @@ sock_recv_into(PySocketSockObject *s, PyObject *args, PyObject *kwds)
int buflen; int buflen;
/* Get the buffer's memory */ /* 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)) &buf, &buflen, &recvlen, &flags))
return NULL; return NULL;
assert(buf != 0 && buflen > 0); assert(buf != 0 && buflen > 0);
@ -2559,8 +2559,9 @@ sock_recvfrom_into(PySocketSockObject *s, PyObject *args, PyObject* kwds)
PyObject *addr = NULL; PyObject *addr = NULL;
if (!PyArg_ParseTupleAndKeywords(args, kwds, "w#|ii:recvfrom", kwlist, if (!PyArg_ParseTupleAndKeywords(args, kwds, "w#|ii:recvfrom_into",
&buf, &buflen, &recvlen, &flags)) kwlist, &buf, &buflen,
&recvlen, &flags))
return NULL; return NULL;
assert(buf != 0 && buflen > 0); assert(buf != 0 && buflen > 0);