(self, fn_wrap: _ListenerFnType)
| 259 | return (id(self.target), self.identifier, self.fn_key) |
| 260 | |
| 261 | def with_wrapper(self, fn_wrap: _ListenerFnType) -> _EventKey[_ET]: |
| 262 | if fn_wrap is self._listen_fn: |
| 263 | return self |
| 264 | else: |
| 265 | return _EventKey( |
| 266 | self.target, |
| 267 | self.identifier, |
| 268 | self.fn, |
| 269 | self.dispatch_target, |
| 270 | _fn_wrap=fn_wrap, |
| 271 | ) |
| 272 | |
| 273 | def with_dispatch_target(self, dispatch_target: Any) -> _EventKey[_ET]: |
| 274 | if dispatch_target is self.dispatch_target: |