Observer Pattern (if you got some spare time)

David Goodger goodger at
Mon Jun 16 20:37:39 CEST 2003

Docutils uses an Observer pattern in a couple of places:
docutils.utils.Reporter, and docutils.statemachine.StateMachine.
They're very simple implementations, but I think that's the beauty
of Patterns in Python: most of the implementation details become

David Goodger    Projects:
   * Python Docutils:
     (includes reStructuredText:
   * The Go Tools Project:

More information about the Python-list mailing list