MCPcopy Create free account
hub / github.com/numpy/numpy / common2fortran

Function common2fortran

numpy/f2py/crackfortran.py:3345–3352  ·  view source on GitHub ↗
(common, tab='')

Source from the content-addressed store, hash-verified

3343
3344
3345def common2fortran(common, tab=''):
3346 ret = ''
3347 for k in list(common.keys()):
3348 if k == '_BLNK_':
3349 ret = '%s%scommon %s' % (ret, tab, ','.join(common[k]))
3350 else:
3351 ret = '%s%scommon /%s/ %s' % (ret, tab, k, ','.join(common[k]))
3352 return ret
3353
3354
3355def use2fortran(use, tab=''):

Callers 1

crack2fortrangenFunction · 0.85

Calls 2

keysMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected