Built-in Functions — Python 3 documentation#reversed

reversed(object,/)

Return a reverse iterator. The argument must be an object which has a __reversed__() method or supports the sequence protocol (the __len__() method and the __getitem__() method with integer arguments starting at 0).

Printed 2026-06-28.

(echo:: @ )