« head :: Contents :: seq »
head
seq
nl
nl1
number items of an iterable (start with 1)
<iterable> | nl1
<iterable> | nl
>>> from grapevine import * >>> ('foo', 'bar', 'quux') | nl1 | list [(1, 'foo'), (2, 'bar'), (3, 'quux')] >>> nl is nl1 True
See also