org.python.core

Class PyMethod

public class PyMethod extends PyObject

A python method.
Field Summary
PyObjectim_class
PyObjectim_func
PyObjectim_self
PyObject__doc__
String__name__
Constructor Summary
PyMethod(PyObject self, PyObject f, PyObject wherefound)
PyMethod(PyObject self, PyFunction f, PyObject wherefound)
PyMethod(PyObject self, PyReflectedFunction f, PyObject wherefound)
Method Summary
StringsafeRepr()
StringtoString()
PyObject_doget(PyObject container)
PyObject_doget(PyObject container, PyObject wherefound)
PyObject__call__(PyObject[] args, String[] keywords)
int__cmp__(PyObject other)
void__delattr__(String name)
PyObject__dir__()
PyObject__findattr__(String name)

Field Detail

im_class

public PyObject im_class

im_func

public PyObject im_func

im_self

public PyObject im_self

__doc__

public PyObject __doc__

__name__

public String __name__

Constructor Detail

PyMethod

public PyMethod(PyObject self, PyObject f, PyObject wherefound)

PyMethod

public PyMethod(PyObject self, PyFunction f, PyObject wherefound)

PyMethod

public PyMethod(PyObject self, PyReflectedFunction f, PyObject wherefound)

Method Detail

safeRepr

public String safeRepr()

toString

public String toString()

_doget

public PyObject _doget(PyObject container)

_doget

public PyObject _doget(PyObject container, PyObject wherefound)

__call__

public PyObject __call__(PyObject[] args, String[] keywords)

__cmp__

public int __cmp__(PyObject other)

__delattr__

public void __delattr__(String name)

__dir__

public PyObject __dir__()

__findattr__

public PyObject __findattr__(String name)