Changeset 2095
- Timestamp:
- 09/06/07 05:14:27 (1 year ago)
- Files:
-
- gaphas/trunk/state.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gaphas/trunk/state.txt
r1803 r2095 47 47 nothing about the internals of the tree class (in this case the remove() method 48 48 recursively calls remove() for each of it's children). Therefore some careful 49 crafting of methods may be ne ssecary in order to get the right effect:49 crafting of methods may be necessary in order to get the right effect: 50 50 51 51 >>> tree.remove(1) # doctest: +ELLIPSIS … … 75 75 76 76 1. The observer always generates events based on 'function' calls. Even for 77 class method invo kations. This is because, when calling a method (say78 Tree.add) it's the im_funcfield is executed, which is a function type77 class method invocations. This is because, when calling a method (say 78 Tree.add) it's the ``im_func`` field is executed, which is a function type 79 79 object. 80 80 … … 194 194 invert, translate, rotate and scale 195 195 196 Test cases are described in undo.txt.196 Test cases are described in undo.txt. 197 197 198 198 (disable dispatching again, not frustrating other tests) … … 201 201 >>> state.disable_dispatching(Tree._remove) 202 202 203
