Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ process_python_str
Function
process_python_str
tools/gyp/pylib/packaging/_parser.py:336–338 ·
view source on GitHub ↗
(python_str: str)
Source
from the content-addressed store, hash-verified
334
335
336
def
process_python_str(python_str: str) -> Value:
337
value = ast.literal_eval(python_str)
338
return
Value(str(value))
339
340
341
def
_parse_marker_op(tokenizer: Tokenizer) -> Op:
Callers
1
_parse_marker_var
Function · 0.85
Calls
2
Value
Class · 0.85
str
Function · 0.85
Tested by
no test coverage detected