MCPcopy Index your code
hub / github.com/numpy/numpy / restore

Method restore

numpy/f2py/symbolic.py:1337–1341  ·  view source on GitHub ↗
(r)

Source from the content-addressed store, hash-verified

1335 r = r.strip()
1336
1337 def restore(r):
1338 # restores subexpressions marked with f2py @-names
1339 if isinstance(r, (list, tuple)):
1340 return type(r)(map(restore, r))
1341 return unreplace_parenthesis(r, raw_symbols_map)
1342
1343 # comma-separated tuple
1344 if ',' in r:

Callers

nothing calls this directly

Calls 1

unreplace_parenthesisFunction · 0.85

Tested by

no test coverage detected