(self)
| 604 | self._flag = False |
| 605 | |
| 606 | def __repr__(self): |
| 607 | cls = self.__class__ |
| 608 | status = 'set' if self._flag else 'unset' |
| 609 | return f"<{cls.__module__}.{cls.__qualname__} at {id(self):#x}: {status}>" |
| 610 | |
| 611 | def _at_fork_reinit(self): |
| 612 | # Private method called by Thread._after_fork() |