Call the callbacks registered with the arguments args
(self, *args)
| 49 | self.callbacks.remove(cb) |
| 50 | |
| 51 | def call(self, *args): |
| 52 | """ Call the callbacks registered with the arguments args """ |
| 53 | copy_of_callbacks = list(self.callbacks) |
| 54 | for cb in copy_of_callbacks: |
| 55 | cb(*args) |
no outgoing calls