MCPcopy Index your code
hub / github.com/RustPython/RustPython / __repr__

Method __repr__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

idFunction · 0.85

Tested by

no test coverage detected