Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ _newname
Function
_newname
Lib/threading.py:854–855 ·
view source on GitHub ↗
(name_template)
Source
from the content-addressed store, hash-verified
852
# Helper to generate new thread names
853
_counter = _count(1).__next__
854
def
_newname(name_template):
855
return
name_template % _counter()
856
857
# Active thread administration.
858
#
Callers
2
__init__
Method · 0.85
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected