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

guido.van.rossum python-checkins at python.org
Tue Dec 18 21:10:42 CET 2007


Author: guido.van.rossum
Date: Tue Dec 18 21:10:42 2007
New Revision: 59551
Modified:
 python/trunk/Modules/socketmodule.c
Log:
Issue #1645 by Alberto Bertogli. Fix a comment.
Modified: python/trunk/Modules/socketmodule.c
==============================================================================
--- python/trunk/Modules/socketmodule.c	(original)
+++ python/trunk/Modules/socketmodule.c	Tue Dec 18 21:10:42 2007
@@ -2358,12 +2358,12 @@
 
 
 /*
- * This is the guts of the recv() and recv_into() methods, which reads into a
- * char buffer. If you have any inc/def ref to do to the objects that contain
- * the buffer, do it in the caller. This function returns the number of bytes
- * succesfully read. If there was an error, it returns -1. Note that it is
- * also possible that we return a number of bytes smaller than the request
- * bytes.
+ * This is the guts of the recvfrom() and recvfrom_into() methods, which reads
+ * into a char buffer. If you have any inc/def ref to do to the objects that
+ * contain the buffer, do it in the caller. This function returns the number
+ * of bytes succesfully read. If there was an error, it returns -1. Note
+ * that it is also possible that we return a number of bytes smaller than the
+ * request bytes.
 *
 * 'addr' is a return value for the address object. Note that you must decref
 * it yourself.


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /