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

Function as_string

numpy/f2py/symbolic.py:989–992  ·  view source on GitHub ↗

Return object as STRING expression (string literal constant).

(obj, kind=1)

Source from the content-addressed store, hash-verified

987
988
989def as_string(obj, kind=1):
990 """Return object as STRING expression (string literal constant).
991 """
992 return Expr(Op.STRING, (obj, kind))
993
994
995def as_array(obj):

Callers 6

test_sanityMethod · 0.90
test_operationsMethod · 0.90
test_fromstringMethod · 0.90
normalizeFunction · 0.85
as_exprFunction · 0.85
processMethod · 0.85

Calls 1

ExprClass · 0.85

Tested by 3

test_sanityMethod · 0.72
test_operationsMethod · 0.72
test_fromstringMethod · 0.72