fix reversed
on BaseIterator
This commit is contained in:
parent
283bfd1f28
commit
68a168e8b8
1 changed files with 1 additions and 0 deletions
|
@ -2440,6 +2440,7 @@ cdef class BaseIterator(object):
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
def __reversed__(self):
|
def __reversed__(self):
|
||||||
|
self.seek_to_last()
|
||||||
return ReversedIterator(self)
|
return ReversedIterator(self)
|
||||||
|
|
||||||
cpdef seek_to_first(self):
|
cpdef seek_to_first(self):
|
||||||
|
|
Loading…
Reference in a new issue