Top Description Fields Constructors Methods
org.python.modules._weakref

public Class CallableProxyType

extends ProxyType
Class Inheritance
Annotations
@ExposedType
name:weakcallableproxy
isBaseType:false
Imports
org.python.core.PyObject, .PyType, org.python.expose.ExposedMethod, .ExposedType

ProxyType with __call__.

Field Summary

Modifier and TypeField and Description
public static final PyType

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
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.

pack-priv final PyObject
Inherited from org.python.modules._weakref.ProxyType:
__abs____add____and____complex____contains____delattr____delitem____delslice____div____divmod____findattr_ex____finditem____float____floordiv____getslice____hex____iadd____iand____idiv____ifloordiv____ilshift____imod____imul____index____int____invert____ior____ipow____irshift____isub____iter____ixor____len____long____lshift____mod____mul____neg____nonzero____oct____or____pos____pow____radd____rand____rdiv____rdivmod____rlshift____rmod____rmul____ror____rpow____rrshift____rshift____rsub____rxor____setattr____setitem____setslice____str____sub____unicode____xor__

Field Detail

TYPEback to summary
public static final PyType TYPE

Hides org.python.modules._weakref.ProxyType.TYPE.

Constructor Detail

CallableProxyTypeback to summary
public CallableProxyType(ReferenceBackend ref, PyObject callback)

Method Detail

__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.

weakcallableproxy___call__back to summary
pack-priv final PyObject weakcallableproxy___call__(PyObject[] args, String[] kws)
Annotations
@ExposedMethod