org.python.core
public class PyBuiltinFunctionSet extends PyBuiltinFunction
Subclasses of PyBuiltinFunctionSet will implement some or all of the __call__ method with a switch on the index number.
| Field Summary | |
|---|---|
| static Class | exposed_as |
| Constructor Summary | |
|---|---|
| PyBuiltinFunctionSet(String name, int index)
Creates a PyBuiltinFunctionSet that expects 1 argument. | |
| PyBuiltinFunctionSet(String name, int index, int numargs) | |
| PyBuiltinFunctionSet(String name, int index, int minargs, int maxargs) | |
| PyBuiltinFunctionSet(String name, int index, int minargs, int maxargs, String doc) | |
| Method Summary | |
|---|---|
| PyObject | fancyCall(PyObject[] args) |
| PyObject | fastGetDoc() |
| boolean | isMappingType() |
| boolean | isNumberType() |
| boolean | isSequenceType() |
| String | toString() |
| PyObject | __call__(PyObject[] args) |
| PyObject | __call__(PyObject[] args, String[] kws) |
| PyObject | __call__() |
| PyObject | __call__(PyObject arg1) |
| PyObject | __call__(PyObject arg1, PyObject arg2) |
| PyObject | __call__(PyObject arg1, PyObject arg2, PyObject arg3) |
| PyObject | __call__(PyObject arg1, PyObject arg2, PyObject arg3, PyObject arg4) |