ruby-changes:4462
From: ko1@a...
Date: Thu, 10 Apr 2008 19:42:39 +0900 (JST)
Subject: [ruby-changes:4462] knu - Ruby:r15953 (trunk): * eval.c (rb_f_loop): Mention StopIteration in the document.
knu 2008-04-10 19:42:14 +0900 (Thu, 10 Apr 2008)
New Revision: 15953
Modified files:
trunk/ChangeLog
trunk/eval.c
Log:
* eval.c (rb_f_loop): Mention StopIteration in the document.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15953&r2=15952&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/eval.c?r1=15953&r2=15952&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 15952)
+++ ChangeLog (revision 15953)
@@ -1,3 +1,7 @@
+Thu Apr 10 19:41:00 2008 Akinori MUSHA <knu@i...>
+
+ * eval.c (rb_f_loop): Mention StopIteration in the document.
+
Thu Apr 10 19:23:55 2008 Akinori MUSHA <knu@i...>
* array.c (rb_ary_pop_m, rb_ary_shift_m): Update documents for
Index: eval.c
===================================================================
--- eval.c (revision 15952)
+++ eval.c (revision 15953)
@@ -984,6 +984,8 @@
* break if !line or line =~ /^qQ/
* # ...
* end
+ *
+ * StopIteration raised in the block breaks the loop.
*/
static VALUE
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/