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

Method name

Lib/threading.py:1136–1144  ·  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

1134
1135 @property
1136 def name(self):
1137 """A string used for identification purposes only.
1138
1139 It has no semantics. Multiple threads may be given the same name. The
1140 initial name is set by the constructor.
1141
1142 """
1143 assert self._initialized, "Thread.__init__() not called"
1144 return self._name
1145
1146 @name.setter
1147 def name(self, name):

Callers

nothing calls this directly

Calls 3

_set_os_nameMethod · 0.95
strFunction · 0.85
get_identFunction · 0.70

Tested by

no test coverage detected