diff options
author | Jeremy Evans <code@jeremyevans.net> | 2023-06-22 16:23:44 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2023-08-30 21:21:02 +0100 |
commit | ae609a995e344877a990f4c16eca88b02dab5eba (patch) | |
tree | b4963acbcd32f198d681e2174b89b350d5e39eff /io.c | |
parent | 00dbee94ac71527cffbfa959a99f17457eb440fc (diff) |
Document that Kernel#p is for debugging and may be uninterruptible [ci skip]
Fixes [Bug #18810]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7975
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |