Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ _get_json_data_name
Function
_get_json_data_name
Lib/sysconfig/__main__.py:170–173 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
168
169
170
def
_get_json_data_name():
171
name = _get_sysconfigdata_name()
172
assert name.startswith(
'_sysconfigdata'
)
173
return
name.replace(
'_sysconfigdata'
,
'_sysconfig_vars'
) +
'.json'
174
175
176
def
_generate_posix_vars():
Callers
2
test_sysconfigdata_json
Method · 0.90
_generate_posix_vars
Function · 0.85
Calls
3
_get_sysconfigdata_name
Function · 0.90
startswith
Method · 0.45
replace
Method · 0.45
Tested by
1
test_sysconfigdata_json
Method · 0.72