trait
ReversibleRange
The ReversibleRange
trait describes a range that can be reversed.
Any type that conforms to ReversibleRange
works with the builtin
reversed()
functions.
The ReversibleRange
trait requires the type to define the __reversed__()
method.
Note: iterators are currently non-raising.
Implemented traits
AnyType
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
If you'd like to share more information, please report an issue on GitHub
😔 What went wrong?