This is a pre-release version (2.5.0.dev0+git20251130.2de293a). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / f2py / symbolic / _FromStringWorker / process

function

numpy.f2py.symbolic:_FromStringWorker.process

source: build-install/usr/lib/python3.14/site-packages/numpy/f2py/symbolic.py :1318

Signature

def   process ( self s context = expr )

Summary

Parse string within the given context.

Extended Summary

The context may define the result in case of ambiguous expressions. For instance, consider expressions f(x, y) and (x, y) + (a, b) where f is a function and pair (x, y) denotes complex number. Specifying context as "args" or "expr", the subexpression (x, y) will be parse to an argument list or to a complex number, respectively.

Aliases

  • numpy.f2py.symbolic._FromStringWorker.process