diff --git a/thread.c b/thread.c index cb2bd8930a..7ecc535b88 100644 --- a/thread.c +++ b/thread.c @@ -5128,7 +5128,7 @@ rb_exec_recursive_paired_outer(VALUE (*func) (VALUE, VALUE, int), VALUE obj, VAL /* * call-seq: - * thread.backtrace -> array + * thread.backtrace -> array or nil * * Returns the current backtrace of the target thread. *