]> granicus.if.org Git - python/commitdiff
Issue #1645 by Alberto Bertogli. Fix a comment.
authorGuido van Rossum <guido@python.org>
Tue, 18 Dec 2007 20:10:42 +0000 (20:10 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 18 Dec 2007 20:10:42 +0000 (20:10 +0000)
Modules/socketmodule.c

index 5815ecf6f2d2e76abce6c0bbad9c9b1f9d670948..5d3875371b8d9f99ca79bfb480f80740de45bf77 100644 (file)
@@ -2358,12 +2358,12 @@ See recv() for documentation about the flags.");
 
 
 /*
- * 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.