Show More
@@ -12,7 +12,7 b' class EventfulDict(dict):' | |||||
12 | other words, if you add a dict as a child, the events of that dict won't be |
|
12 | other words, if you add a dict as a child, the events of that dict won't be | |
13 | listened to. If you find you need something recursive, listen to the `add` |
|
13 | listened to. If you find you need something recursive, listen to the `add` | |
14 | and `set` methods, and then cancel `dict` values from being set, and instead |
|
14 | and `set` methods, and then cancel `dict` values from being set, and instead | |
15 |
set |
|
15 | set EventfulDicts that wrap those dicts. Then you can wire the events | |
16 | to the same handlers if necessary. |
|
16 | to the same handlers if necessary. | |
17 |
|
17 | |||
18 | See the on_events, on_add, on_set, and on_del methods for registering |
|
18 | See the on_events, on_add, on_set, and on_del methods for registering |
General Comments 0
You need to be logged in to leave comments.
Login now