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

Function markouterparen

numpy/f2py/crackfortran.py:852–867  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

850
851
852def markouterparen(line):
853 l = ''
854 f = 0
855 for c in line:
856 if c == '(':
857 f = f + 1
858 if f == 1:
859 l = l + '@(@'
860 continue
861 elif c == ')':
862 f = f - 1
863 if f == 0:
864 l = l + '@)@'
865 continue
866 l = l + c
867 return l
868
869
870def markoutercomma(line, comma=','):

Callers 5

cracklineFunction · 0.85
_resolvenameargspatternFunction · 0.85
analyzelineFunction · 0.85
cracktypespec0Function · 0.85
updatevarsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…