ScatterHQ / machinist

A library for constructing finite state machines
Apache License 2.0
57 stars 12 forks source link

Example shows output_* as not receiving any extra arguments #9

Closed itamarst closed 10 years ago

itamarst commented 10 years ago

In fact, output_* methods are called with a context of some sort.

exarkun commented 10 years ago

The PR makes the minimal changes necessary to make the example less misleading (I won't say "correct" because the example still isn't runnable).