summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-12-18 20:10:42 (GMT)
committerGuido van Rossum <guido@python.org>2007-12-18 20:10:42 (GMT)
commit3c887b2802e1b44b7e33cd14329541d0d22769d7 (patch)
tree01ee3e734d627d3a9b48cc2e8d09ccf867088509 /Modules/socketmodule.c
parent153038efa4fa1b2e9819703abf22bddf76a62e9f (diff)
downloadcpython-3c887b2802e1b44b7e33cd14329541d0d22769d7.zip
cpython-3c887b2802e1b44b7e33cd14329541d0d22769d7.tar.gz
cpython-3c887b2802e1b44b7e33cd14329541d0d22769d7.tar.bz2
Issue #1645 by Alberto Bertogli. Fix a comment.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 5815ecf..5d38753 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -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.