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

Method __repr__

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

Source from the content-addressed store, hash-verified

960 pass
961
962 def __repr__(self):
963 assert self._initialized, "Thread.__init__() was not called"
964 status = "initial"
965 if self._started.is_set():
966 status = "started"
967 if self._os_thread_handle.is_done():
968 status = "stopped"
969 if self._daemonic:
970 status += " daemon"
971 if self._ident is not None:
972 status += " %s" % self._ident
973 return "<%s(%s, %s)>" % (self.__class__.__name__, self._name, status)
974
975 def start(self):
976 """Start the thread&#x27;s activity.

Callers

nothing calls this directly

Calls 2

is_setMethod · 0.45
is_doneMethod · 0.45

Tested by

no test coverage detected