MCPcopy Create free account
hub / github.com/python/cpython / __repr__

Method __repr__

Lib/threading.py:599–602  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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()

Callers

nothing calls this directly

Calls 1

idFunction · 0.85

Tested by

no test coverage detected