|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.python.core.PyObject
org.python.core.PyBuiltinCallable
org.python.core.PyBuiltinFunction
org.python.core.PyBuiltinFunctionNarrow
public class PyBuiltinFunctionNarrow
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.python.core.PyBuiltinCallable |
---|
PyBuiltinCallable.DefaultInfo, PyBuiltinCallable.Info |
Nested classes/interfaces inherited from class org.python.core.PyObject |
---|
PyObject.ConversionException |
Field Summary |
---|
Fields inherited from class org.python.core.PyObject |
---|
TYPE |
Method Summary | |
---|---|
PyObject |
__call__()
A variant of the __call__ method with no arguments. |
PyObject |
__call__(PyObject arg1)
A variant of the __call__ method with one argument. |
PyObject |
__call__(PyObject[] args)
A variant of the __call__ method when no keywords are passed. |
PyObject |
__call__(PyObject[] args,
String[] kws)
The basic method to override when implementing a callable object. |
PyObject |
__call__(PyObject arg1,
PyObject arg2)
A variant of the __call__ method with two arguments. |
PyObject |
__call__(PyObject arg1,
PyObject arg2,
PyObject arg3)
A variant of the __call__ method with three arguments. |
PyObject |
__call__(PyObject arg1,
PyObject arg2,
PyObject arg3,
PyObject arg4)
A variant of the __call__ method with four arguments. |
PyObject |
fancyCall(PyObject[] args)
|
Methods inherited from class org.python.core.PyBuiltinFunction |
---|
bind, isMappingType, isNumberType, isSequenceType, toString |
Methods inherited from class org.python.core.PyBuiltinCallable |
---|
fastGetName, getDoc, getModule, getSelf, makeCall, setInfo |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public PyObject fancyCall(PyObject[] args)
public PyObject __call__(PyObject[] args)
PyObject
__call__(args, keywords)
with the appropriate arguments. The only reason to override this
function would be for improved performance.
__call__
in class PyObject
args
- all arguments to the function.public PyObject __call__(PyObject[] args, String[] kws)
PyObject
__call__
in class PyObject
args
- all arguments to the function (including
keyword arguments).kws
- the keywords used for all keyword arguments.public PyObject __call__()
PyObject
__call__(args, keywords)
with the
appropriate arguments. The only reason to override this function
would be for improved performance.
__call__
in class PyObject
public PyObject __call__(PyObject arg1)
PyObject
__call__(args, keywords)
with the
appropriate arguments. The only reason to override this function
would be for improved performance.
__call__
in class PyObject
arg1
- the single argument to the function.public PyObject __call__(PyObject arg1, PyObject arg2)
PyObject
__call__(args, keywords)
with the
appropriate arguments. The only reason to override this function
would be for improved performance.
__call__
in class PyObject
arg1
- the first argument to the function.arg2
- the second argument to the function.public PyObject __call__(PyObject arg1, PyObject arg2, PyObject arg3)
PyObject
__call__(args, keywords)
with the
appropriate arguments. The only reason to override this function
would be for improved performance.
__call__
in class PyObject
arg1
- the first argument to the function.arg2
- the second argument to the function.arg3
- the third argument to the function.public PyObject __call__(PyObject arg1, PyObject arg2, PyObject arg3, PyObject arg4)
PyObject
__call__(args, keywords)
with the
appropriate arguments. The only reason to override this function
would be for improved performance.
__call__
in class PyObject
arg1
- the first argument to the function.arg2
- the second argument to the function.arg3
- the third argument to the function.arg4
- the fourth argument to the function.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |