pytransitions / transitions

A lightweight, object-oriented finite state machine implementation in Python with many extensions
MIT License
5.49k stars 524 forks source link

Missing "Machine" import #542

Closed kauedg closed 2 years ago

kauedg commented 2 years ago

The main README.md file, section "Non-Quickstart/State", is missing an import in the example.

# import Machine and State class
from transitions import State

It should be

# import Machine and State class
from transitions import Machine, State

Fix for issue #541

aleneum commented 2 years ago

Hello @kauedg,

thank you for taking the time to open the PR.

kauedg commented 2 years ago

I'm the one who's thankful for this great module