MCPcopy 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
336def process_python_str(python_str: str) -> Value:
337 value = ast.literal_eval(python_str)
338 return Value(str(value))
339
340
341def _parse_marker_op(tokenizer: Tokenizer) -> Op:

Callers 1

_parse_marker_varFunction · 0.85

Calls 2

ValueClass · 0.85
strFunction · 0.85

Tested by

no test coverage detected