Skip to content
  • Damien George's avatar
    py: Implement builtin reversed() function. · 4c03b3a8
    Damien George authored
    reversed function now implemented, and works for tuple, list, str, bytes
    and user objects with __len__ and __getitem__.
    
    Renamed mp_builtin_len to mp_obj_len to make it publically available (eg
    for reversed).
    4c03b3a8