[Python-checkins] r54633 - python/trunk/Modules/socketmodule.c

neal.norwitz python-checkins at python.org
Sat Mar 31 20:54:19 CEST 2007


Author: neal.norwitz
Date: Sat Mar 31 20:54:18 2007
New Revision: 54633

Modified:
   python/trunk/Modules/socketmodule.c
Log:
Fix method names.  Will backport.

Modified: python/trunk/Modules/socketmodule.c
==============================================================================
--- python/trunk/Modules/socketmodule.c	(original)
+++ python/trunk/Modules/socketmodule.c	Sat Mar 31 20:54:18 2007
@@ -2384,7 +2384,7 @@
 	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 @@
 
 	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);
 


More information about the Python-checkins mailing list