aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2023-06-22 16:23:44 -0700
committerJeremy Evans <code@jeremyevans.net>2023-08-30 21:21:02 +0100
commitae609a995e344877a990f4c16eca88b02dab5eba (patch)
treeb4963acbcd32f198d681e2174b89b350d5e39eff /io.c
parent00dbee94ac71527cffbfa959a99f17457eb440fc (diff)
downloadruby-ae609a995e344877a990f4c16eca88b02dab5eba.tar.gz
Document that Kernel#p is for debugging and may be uninterruptible [ci skip]
Fixes [Bug #18810]
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/io.c b/io.c
index bd1db9aa5d..433ec75b27 100644
--- a/io.c
+++ b/io.c
@@ -8944,6 +8944,10 @@ rb_p_result(int argc, const VALUE *argv)
* 0..4
* [0..4, 0..4, 0..4]
*
+ * Kernel#p is designed for debugging purposes.
+ * Ruby implementations may define Kernel#p to be uninterruptible
+ * in whole or in part.
+ * On CRuby, Kernel#p's writing of data is uninterruptible.
*/
static VALUE