Closed moshez closed 3 years ago
Instead of next(), use operator.itemgetter(0)
next()
operator.itemgetter(0)
I haven't done any of the other things suggested (adding first() to the library itself or adding auto-testing for the docs).
first()
Instead of
next()
, useoperator.itemgetter(0)
I haven't done any of the other things suggested (adding
first()
to the library itself or adding auto-testing for the docs).