Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ _newname
Function
_newname
tools/python-3.11.9-amd64/Lib/threading.py:811–812 ·
view source on GitHub ↗
(name_template)
Source
from the content-addressed store, hash-verified
809
# Helper to generate new thread names
810
_counter = _count(1).__next__
811
def
_newname(name_template):
812
return
name_template % _counter()
813
814
# Active thread administration.
815
#
Callers
2
__init__
Method · 0.85
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected