« yes :: Contents :: select »
yes
select
nl0
return number items of an iterable (start with 0)
<iterable> | nl0
>>> from grapevine import * >>> ('foo', 'bar', 'quux') | nl0 | list [(0, 'foo'), (1, 'bar'), (2, 'quux')]
See also