org.autoplot.jythonsupport.FunctionSupport
Code to support writing Python Functions.
FunctionSupport( String name, String[] parameters )
FunctionSupport( String name, String[] parameters, PyObject[] defaults )
FunctionSupport( String name, String[] parameters, PyObject[] defaults, String extraPositionalParameters, String extraKeywordParameters )
args
args( PyObject[] args, String[] keywords ) → java.util.Map
Processes the arguments for a jython method invocation in a way that
mimics the way arguments are process for native python defined method.
This algorithm is based on the description of the process given in
section 5.3.4 of the version 2.4.4 Python Reference Manual.
http://www.python.org/doc/2.4.4/ref/calls.html
Parameters
args - a PyObject[]
keywords - a java.lang.String[]
Returns:
a java.util.Map
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]