home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
pypil112.zip
/
PIL-1.1.2.zip
/
Lib
/
site-packages
/
PIL
/
ImageSequence.pyc
(
.txt
)
< prev
next >
Wrap
Python Compiled Bytecode
|
2001-12-25
|
1KB
|
27 lines
# Source Generated with Decompyle++
# File: in.pyc (Python 2.2)
class Iterator:
'''Sequence iterator (use with the for-statement)'''
def __init__(self, im):
if not hasattr(im, 'seek'):
raise AttributeError, 'im must have seek method'
self.im = im
def __getitem__(self, ix):
try:
if ix:
self.im.seek(ix)
return self.im
except EOFError:
raise IndexError