summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index c0bc351a01..0900392fda 100644
--- a/io.c
+++ b/io.c
@@ -1337,7 +1337,7 @@ io_getpartial(int argc, VALUE *argv, VALUE io)
* r.readpartial(4096) #=> "ghi\n" "" ""
*
* Note that readpartial is nonblocking-flag insensitive.
- * It blocks even if the nonblocking-flag is set.
+ * It blocks on the situation IO#sysread causes Errno::EAGAIN.
*
* Also note that readpartial behaves similar to sysread in blocking mode.
* The behavior is identical when the buffer is empty.