Alternative to the builtin enumerate()
, that can be fed into another
builtin, reversed()
, as long as the collection being passed in implements
the Sized
abstract base class, which means that it implements
__len__()
. Note that it does not need to implement __getitem__
.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
A replacement enumerate function that allows reverse order
License
cjrh/enumerate_reversible
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A replacement enumerate function that allows reverse order
Resources
License
Stars
Watchers
Forks
Sponsor this project
Packages 0
No packages published