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

Method name

Lib/threading.py:1129–1137  ·  view source on GitHub ↗

A string used for identification purposes only. It has no semantics. Multiple threads may be given the same name. The initial name is set by the constructor.

(self)

Source from the content-addressed store, hash-verified

1127
1128 @property
1129 def name(self):
1130 """A string used for identification purposes only.
1131
1132 It has no semantics. Multiple threads may be given the same name. The
1133 initial name is set by the constructor.
1134
1135 """
1136 assert self._initialized, "Thread.__init__() not called"
1137 return self._name
1138
1139 @name.setter
1140 def name(self, name):

Callers

nothing calls this directly

Calls 2

_set_os_nameMethod · 0.95
strFunction · 0.85

Tested by

no test coverage detected