Bug #9814 ยป 0001-Improving-example-for-Enumerator-peek.patch
enumerator.c | ||
---|---|---|
* p e.peek #=> 2
|
||
* p e.next #=> 2
|
||
* p e.next #=> 3
|
||
* p e.next #raises StopIteration
|
||
* p e.peek #raises StopIteration
|
||
*
|
||
*/
|
||