Changeset 2240
- Timestamp:
- 03/02/08 23:40:04 (5 months ago)
- Files:
-
- gaphas/trunk/gaphas/state.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gaphas/trunk/gaphas/state.py
r2211 r2240 5 5 Invokations of method and state changing properties are emited to all 6 6 functions (or bound methods) registered in the 'observers' set. 7 Use observers.add() and observers.remove()to add/remove handlers.7 Use `observers.add()` and `observers.remove()` to add/remove handlers. 8 8 9 9 This module also contains a second layer: a state inverser. Instead of … … 93 93 94 94 ... and enable it again: 95 95 96 >>> enable_dispatching(callme) 96 97 >>> callme() … … 161 162 (or add additional values). bind2 does the same for func2. 162 163 163 See revert_handler()for doctesting.164 See `revert_handler()` for doctesting. 164 165 """ 165 166 global _reverse
