summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-24 05:23:51 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-24 05:23:51 +0000
commit5feede6f3b0deaafed9e1f12bac330f90b68ffc3 (patch)
tree5351f37b7a4d05ca5b04ef92f0443362b1a698f4 /thread.c
parentac94eb1a9116858396998b4b93122bef942f5378 (diff)
* thread.c: Grammar for #backtrace_locations and ::handle_interrupt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/thread.c b/thread.c
index 82d4c0d623..66203bc449 100644
--- a/thread.c
+++ b/thread.c
@@ -1640,7 +1640,7 @@ handle_interrupt_arg_check_i(VALUE key, VALUE val)
* th.raise "stop"
*
* While we are ignoring the RuntimeError exception, it's safe to write our
- * resource allocation code. Then in the ensure block is where you can safely
+ * resource allocation code. Then, the ensure block is where we can safely
* deallocate your resources.
*
* ==== Guarding from TimeoutError
@@ -4853,8 +4853,8 @@ rb_thread_backtrace_m(int argc, VALUE *argv, VALUE thval)
*
* See Thread::Backtrace::Location for more information.
*
- * This method behaves similarly to Kernel#caller_locations except for a
- * specific thread.
+ * This method behaves similarly to Kernel#caller_locations except it applies
+ * to a specific thread.
*/
static VALUE
rb_thread_backtrace_locations_m(int argc, VALUE *argv, VALUE thval)