fix reversed on BaseIterator

This commit is contained in:
Jack Robison 2022-01-13 21:55:14 -05:00
parent 283bfd1f28
commit 68a168e8b8
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -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):