(self, other: object)
| 923 | raise TraitError("a trait changed callback must have 0-4 arguments.") |
| 924 | |
| 925 | def __eq__(self, other: object) -> bool: |
| 926 | # The wrapper is equal to the wrapped element |
| 927 | if isinstance(other, _CallbackWrapper): |
| 928 | return bool(self.cb == other.cb) |
| 929 | else: |
| 930 | return bool(self.cb == other) |
| 931 | |
| 932 | def __call__(self, change: Bunch) -> None: |
| 933 | # The wrapper is callable |
nothing calls this directly
no outgoing calls
no test coverage detected