Top Constructors Methods
org.python.core

public Class PyBuiltinFunctionNarrow

extends PyBuiltinFunction
Class Inheritance
Known Direct Subclasses
org.python.core.PyBuiltinFunctionSet, org.python.core.AllFunction, org.python.core.AnyFunction, org.python.core.FormatFunction, org.python.modules.posix.PosixModule.LstatFunction, org.python.modules.posix.PosixModule.StatFunction, org.python.modules.posix.PosixModule.WindowsStatFunction, org.python.modules.posix.PosixModule.FstatFunction, org.python.modules._json._json.ScanstringFunction, org.python.modules._json._json.EncodeBasestringAsciiFunction
Annotations
@Untraversable

Constructor Summary

AccessConstructor and Description
protected
PyBuiltinFunctionNarrow(String name, int minargs, int maxargs, String doc)

Method Summary

Modifier and TypeMethod and Description
public PyObject
__call__(PyObject[]
all arguments to the function.
args
)

Overrides org.python.core.PyObject.__call__.

A variant of the __call__ method when no keywords are passed.

public PyObject
__call__(PyObject[]
all arguments to the function (including keyword arguments).
args
,
String[]
the keywords used for all keyword arguments.
kws
)

Overrides org.python.core.PyObject.__call__.

The basic method to override when implementing a callable object.

public PyObject
__call__()

Overrides org.python.core.PyObject.__call__.

A variant of the __call__ method with no arguments.

public PyObject
__call__(PyObject
the single argument to the function.
arg1
)

Overrides org.python.core.PyObject.__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.PyObject.__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.PyObject.__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.PyObject.__call__.

A variant of the __call__ method with four arguments.

public PyObject
Inherited from org.python.core.PyBuiltinFunction:
bindisMappingTypeisNumberTypeisSequenceTypetoString

Constructor Detail

PyBuiltinFunctionNarrowback to summary
protected PyBuiltinFunctionNarrow(String name, int minargs, int maxargs, String doc)

Method Detail

__call__back to summary
public PyObject __call__(PyObject[] args)

Overrides org.python.core.PyObject.__call__.

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

A variant of the __call__ method when no keywords are passed. 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
args:PyObject[]

all arguments to the function.

__call__back to summary
public PyObject __call__(PyObject[] args, String[] kws)

Overrides org.python.core.PyObject.__call__.

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

The basic method to override when implementing a callable object. The first len(args)-len(keywords) members of args[] are plain arguments. The last len(keywords) arguments are the values of the keyword arguments.

Parameters
args:PyObject[]

all arguments to the function (including keyword arguments).

kws:String[]

the keywords used for all keyword arguments.

__call__back to summary
public PyObject __call__()

Overrides org.python.core.PyObject.__call__.

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

A variant of the __call__ method with no 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.

__call__back to summary
public PyObject __call__(PyObject arg1)

Overrides org.python.core.PyObject.__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.PyObject.__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.PyObject.__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.PyObject.__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.

fancyCallback to summary
public PyObject fancyCall(PyObject[] args)