MCPcopy Index your code
hub / github.com/python/cpython / __repr__

Method __repr__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

is_setMethod · 0.45

Tested by

no test coverage detected