[Checkins] SVN: z3c.batching/trunk/src/z3c/batching/README.txt Switch to the modern iterator access.

Albertas Agejevas cvs-admin at zope.org
Mon Feb 25 12:15:37 UTC 2013


Log message for revision 129781:
  Switch to the modern iterator access.
  

Changed:
  U   z3c.batching/trunk/src/z3c/batching/README.txt

-=-
Modified: z3c.batching/trunk/src/z3c/batching/README.txt
===================================================================
--- z3c.batching/trunk/src/z3c/batching/README.txt	2013-02-25 12:02:06 UTC (rev 129780)
+++ z3c.batching/trunk/src/z3c/batching/README.txt	2013-02-25 12:15:37 UTC (rev 129781)
@@ -112,11 +112,11 @@
 You can also iterate through the batch:
 
   >>> iterator = iter(batch)
-  >>> iterator.next()
+  >>> next(iterator)
   'seven'
-  >>> iterator.next()
+  >>> next(iterator)
   'eight'
-  >>> iterator.next()
+  >>> next(iterator)
   'nine'
 
 Batch also implement some of IReadSequence interface:



More information about the checkins mailing list