§ fs uë*šãó2—dZeZe¦«Zefd„ZdgZdS)a† This module provides a newnext() function in Python 2 that mimics the behaviour of ``next()`` in Python 3, falling back to Python 2's behaviour for compatibility if this fails. ``newnext(iterator)`` calls the iterator's ``__next__()`` method if it exists. If this doesn't exist, it falls back to calling a ``next()`` method. For example: >>> class Odds(object): ... def __init__(self, start=1): ... self.value = start - 2 ... def __next__(self): # note the Py3 interface ... self.value += 2 ... return self.value ... def __iter__(self): ... return self ... >>> iterator = Odds() >>> next(iterator) 1 >>> next(iterator) 3 If you are defining your own custom iterator class as above, it is preferable to explicitly decorate the class with the @implements_iterator decorator from ``future.utils`` as follows: >>> @implements_iterator ... class Odds(object): ... # etc ... pass This next() function is primarily for consuming iterators defined in Python 3 code elsewhere that we would like to run on Python 2 or 3. có4— | ¦«S#t$rR | ¦«cYS#t$r-td |jj¦«¦«‚wxYwwxYw#t$r}|tur|‚|cYd}~Sd}~wwxYw)z¸ next(iterator[, default]) Return the next item from the iterator. If default is given and the iterator is exhausted, it is returned instead of raising StopIteration. z'{0}' object is not an iteratorN) Ú__next__ÚAttributeErrorÚnextÚ TypeErrorÚformatÚ __class__Ú__name__Ú StopIterationÚ _SENTINEL)ÚiteratorÚdefaultÚes ú–/srv/buildsys-work-dir/castor/build_node/builder-2/WGSG1/unpkd_srcs/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/future/builtins/newnext.pyÚnewnextr+sê€ð ð IØ×$Ò$Ñ&Ô&Ð &øÝð Ið Ið Ið IØ—}’}‘”Ð&Ð&Ð&øÝ!ð Ið Ið IÝÐ A× HÒ HØ+3Ô+=Ô+Fñ!Hô!HñIôIðIð Iøøøð Iøøøøõ ðððØ •iРР؈GàˆNˆNˆNˆNˆNˆNøøøøð øøøs@ƒ— A3¢8µA3¶A6¸7A/Á/A3Á3A6Á6 B B BÂBrN)Ú__doc__rÚ _builtin_nextÚobjectr rÚ__all__©órúrsFðð$ð$ðL€ à ˆF‰HŒH€ à'ððððð6 ˆ+€€€r