Cython recommends to implement only __next__() methods.
http://docs.cython.org/src/userguide/special_methods.html#the-next-method
Signed-off-by: Mehdi Abaakouk <sileht@redhat.com>
def __iter__(self):
return self
- def next(self):
- return self.__next__()
-
def __next__(self):
"""
Get the next key-value pair in the object
def __iter__(self):
return self
- def next(self):
- return self.__next__()
-
def __next__(self):
"""
Get the next object name and locator in the pool
def __iter__(self):
return self
- def next(self):
- return self.__next__()
-
def __next__(self):
"""
Get the next xattr on the object
def __iter__(self):
return self
- def next(self):
- return self.__next__()
-
def __next__(self):
"""
Get the next Snapshot