σ <Χο[c@sdefd„ƒYZdS(tIteratorcBs;eZdZd„Zd„Zd„Zd„Zd„ZRS(s- This class implements an iterator object that can be used to loop over an image sequence. You can use the ``[]`` operator to access elements by index. This operator will raise an :py:exc:`IndexError` if you try to access a nonexistent frame. :param im: An image object. cCs4t|dƒstdƒ‚n||_d|_dS(Ntseeksim must have seek methodi(thasattrtAttributeErrortimtposition(tselfR((s1/tmp/pip-build-SKekGm/pillow/PIL/ImageSequence.pyt__init__s cCs9y|jj|ƒ|jSWntk r4t‚nXdS(N(RRtEOFErrort IndexError(Rtix((s1/tmp/pip-build-SKekGm/pillow/PIL/ImageSequence.pyt __getitem__%s   cCs|S(N((R((s1/tmp/pip-build-SKekGm/pillow/PIL/ImageSequence.pyt__iter__,scCsKy-|jj|jƒ|jd7_|jSWntk rFt‚nXdS(Ni(RRRRt StopIteration(R((s1/tmp/pip-build-SKekGm/pillow/PIL/ImageSequence.pyt__next__/s   cCs |jƒS(N(R(R((s1/tmp/pip-build-SKekGm/pillow/PIL/ImageSequence.pytnext7s(t__name__t __module__t__doc__RR R RR(((s1/tmp/pip-build-SKekGm/pillow/PIL/ImageSequence.pyRs      N(tobjectR(((s1/tmp/pip-build-SKekGm/pillow/PIL/ImageSequence.pyts