comparison roundup/cgi/ZTUtils/Iterator.py @ 2005:fc52d57c6c3e

documentation cleanup
author Richard Jones <richard@users.sourceforge.net>
date Wed, 11 Feb 2004 23:55:10 +0000
parents 69bf0d381fd7
children d2b1a946fdf4 291652465de4
comparison
equal deleted inserted replaced
2004:1782fe36e7b8 2005:fc52d57c6c3e
16 designed to maintain information about the state of an iteration. 16 designed to maintain information about the state of an iteration.
17 The Iterator() function accepts either a sequence or a Python 17 The Iterator() function accepts either a sequence or a Python
18 iterator. The next() method fetches the next item, and returns 18 iterator. The next() method fetches the next item, and returns
19 true if it succeeds. 19 true if it succeeds.
20 20
21 $Id: Iterator.py,v 1.2 2002-09-26 21:54:17 richard Exp $''' 21 $Id: Iterator.py,v 1.3 2004-02-11 23:55:09 richard Exp $'''
22 __version__='$Revision: 1.2 $'[11:-2] 22 __docformat__ = 'restructuredtext'
23 __version__='$Revision: 1.3 $'[11:-2]
23 24
24 import string 25 import string
25 26
26 class Iterator: 27 class Iterator:
27 '''Simple Iterator class''' 28 '''Simple Iterator class'''

Roundup Issue Tracker: http://roundup-tracker.org/