Next / Previous / Contents / TCC Help System / NM Tech homepage

26.3.20. __reversed__(): Implement the reversed() function

If provided, this method allows the reversed() function to be applied to an instance of the class. It returns an iterator that iterates over the contained elements in reverse order.