(self)
| 597 | self._flag = False |
| 598 | |
| 599 | def __repr__(self): |
| 600 | cls = self.__class__ |
| 601 | status = 'set' if self._flag else 'unset' |
| 602 | return f"<{cls.__module__}.{cls.__qualname__} at {id(self):#x}: {status}>" |
| 603 | |
| 604 | def _at_fork_reinit(self): |
| 605 | # Private method called by Thread._after_fork() |