> >The __reversed__ protocol muddles the issue by inviting to > > try to make reversed() work for some iterators The invitation is to add efficient reverse iteration support to regular objects and user defined classes, not for iterators. Though I won't be suprised if someone tries, the only iterator that has a chance with this is enumerate, but that is not what the hook is for. Raymond
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4