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

Function insert_quotes

numpy/f2py/symbolic.py:1200–1208  ·  view source on GitHub ↗

Inverse of eliminate_quotes.

(s, d)

Source from the content-addressed store, hash-verified

1198
1199
1200def insert_quotes(s, d):
1201 """Inverse of eliminate_quotes.
1202 """
1203 for k, v in d.items():
1204 kind = k[:k.find('@')]
1205 if kind:
1206 kind += '_'
1207 s = s.replace(k, kind + v)
1208 return s
1209
1210
1211def replace_parenthesis(s):

Callers 2

workerMethod · 0.90
finalize_stringMethod · 0.85

Calls 3

itemsMethod · 0.80
findMethod · 0.80
replaceMethod · 0.80

Tested by 1

workerMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…