SIGN IN SIGN UP

Support built-in `reversed()` on `PaginatedList` (#3260)

Since `PaginatedList` can already be used as in iterator and there is an
interface defined for reversing the list, it makes sense to also
implement the `__reversed__` “dunder” method that is utilized by
`reversed()` built-in function for reversing iterators.

---------

Signed-off-by: Matej Focko <me@mfocko.xyz>
Co-authored-by: Enrico Minack <github@enrico.minack.dev>
M
Matej Focko committed
95f015c8b46e62a853051ae98c1bff843765aa1f
Parent: 23a5bad
Committed by GitHub <noreply@github.com> on 7/30/2025, 3:42:50 PM