Project

General

Profile

Bug #9814 ยป 0001-Improving-example-for-Enumerator-peek.patch

futureperfect (Erik Hollembeak), 05/08/2014 08:03 AM

View differences:

enumerator.c
838 838
 *   p e.peek   #=> 2
839 839
 *   p e.next   #=> 2
840 840
 *   p e.next   #=> 3
841
 *   p e.next   #raises StopIteration
841
 *   p e.peek   #raises StopIteration
842 842
 *
843 843
 */
844 844