glyph / automat

Self-service finite-state machines for the programmer on the go.
MIT License
591 stars 65 forks source link

Fix #129: Fix docs to remove invalid next #132

Closed moshez closed 3 years ago

moshez commented 3 years ago

Instead of next(), use 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).