Top Fields Constructors Methods
org.python.modules

pack-priv Class OperatorFunctions

Located in compilation unit of org.python.modules.operator.

extends PyBuiltinFunctionSet
Class Inheritance
Annotations
@Untraversable

Field Summary

Modifier and TypeField and Description
public static final PyObject
Inherited from org.python.core.PyBuiltinFunctionSet:
index

Constructor Summary

AccessConstructor and Description
public
OperatorFunctions(String name, int index, int argcount)

public
OperatorFunctions(String name, int index, int minargs, int maxargs)

Method Summary

Modifier and TypeMethod and Description
public PyObject
__call__(PyObject
the single argument to the function.
arg1
)

Overrides org.python.core.PyBuiltinFunctionNarrow.__call__.

A variant of the __call__ method with one argument.

public PyObject
__call__(PyObject
the first argument to the function.
arg1
,
PyObject
the second argument to the function.
arg2
)

Overrides org.python.core.PyBuiltinFunctionNarrow.__call__.

A variant of the __call__ method with two arguments.

public PyObject
__call__(PyObject
the first argument to the function.
arg1
,
PyObject
the second argument to the function.
arg2
,
PyObject
the third argument to the function.
arg3
)

Overrides org.python.core.PyBuiltinFunctionNarrow.__call__.

A variant of the __call__ method with three arguments.

public PyObject
__call__(PyObject
the first argument to the function.
arg1
,
PyObject
the second argument to the function.
arg2
,
PyObject
the third argument to the function.
arg3
,
PyObject
the fourth argument to the function.
arg4
)

Overrides org.python.core.PyBuiltinFunctionNarrow.__call__.

A variant of the __call__ method with four arguments.

public PyObject

Field Detail

moduleback to summary
public static final PyObject module

Constructor Detail

OperatorFunctionsback to summary
public OperatorFunctions(String name, int index, int argcount)
OperatorFunctionsback to summary
public OperatorFunctions(String name, int index, int minargs, int maxargs)

Method Detail

__call__back to summary
public PyObject __call__(PyObject arg1)

Overrides org.python.core.PyBuiltinFunctionNarrow.__call__.

Doc from org.python.core.PyObject.__call__.

A variant of the __call__ method with one argument. The default behavior is to invoke __call__(args, keywords) with the appropriate arguments. The only reason to override this function would be for improved performance.

Parameters
arg1:PyObject

the single argument to the function.

__call__back to summary
public PyObject __call__(PyObject arg1, PyObject arg2)

Overrides org.python.core.PyBuiltinFunctionNarrow.__call__.

Doc from org.python.core.PyObject.__call__.

A variant of the __call__ method with two arguments. The default behavior is to invoke __call__(args, keywords) with the appropriate arguments. The only reason to override this function would be for improved performance.

Parameters
arg1:PyObject

the first argument to the function.

arg2:PyObject

the second argument to the function.

__call__back to summary
public PyObject __call__(PyObject arg1, PyObject arg2, PyObject arg3)

Overrides org.python.core.PyBuiltinFunctionNarrow.__call__.

Doc from org.python.core.PyObject.__call__.

A variant of the __call__ method with three arguments. The default behavior is to invoke __call__(args, keywords) with the appropriate arguments. The only reason to override this function would be for improved performance.

Parameters
arg1:PyObject

the first argument to the function.

arg2:PyObject

the second argument to the function.

arg3:PyObject

the third argument to the function.

__call__back to summary
public PyObject __call__(PyObject arg1, PyObject arg2, PyObject arg3, PyObject arg4)

Overrides org.python.core.PyBuiltinFunctionNarrow.__call__.

Doc from org.python.core.PyObject.__call__.

A variant of the __call__ method with four arguments. The default behavior is to invoke __call__(args, keywords) with the appropriate arguments. The only reason to override this function would be for improved performance.

Parameters
arg1:PyObject

the first argument to the function.

arg2:PyObject

the second argument to the function.

arg3:PyObject

the third argument to the function.

arg4:PyObject

the fourth argument to the function.

getModuleback to summary
public PyObject getModule()

Overrides org.python.core.PyBuiltinCallable.getModule.

Annotations
@Override