If alive then return (obj, func, args, kwargs); otherwise return None
(self)
| 598 | return (obj, info.func, info.args, info.kwargs or {}) |
| 599 | |
| 600 | def peek(self): |
| 601 | """If alive then return (obj, func, args, kwargs); |
| 602 | otherwise return None""" |
| 603 | info = self._registry.get(self) |
| 604 | obj = info and info.weakref() |
| 605 | if obj is not None: |
| 606 | return (obj, info.func, info.args, info.kwargs or {}) |
| 607 | |
| 608 | @property |
| 609 | def alive(self): |