org.python.core
public class PyClass extends PyObject
| Field Summary | |
|---|---|
| PyTuple | __bases__
The base classes of this class |
| static PyClass | __class__ |
| PyObject | __dict__
Holds the namespace for this class |
| String | __name__
The name of this class |
| Constructor Summary | |
|---|---|
| PyClass(String name, PyTuple bases, PyObject dict)
Create a python class.
| |
| PyClass(String name, PyTuple bases, PyObject dict, Class proxyClass)
Create a python class which inherits from a java class and where we
already have generated a proxyclass. | |
| Method Summary | |
|---|---|
| PyObject | fastGetDict() |
| boolean | isSubClass(PyClass superclass) |
| String | safeRepr() |
| String | toString() |
| PyObject | __call__(PyObject[] args, String[] keywords) |
| int | __cmp__(PyObject other) |
| void | __delattr__(String name) |
| PyObject | __findattr__(String name) |
| void | __rawdir__(PyDictionary accum) |
| void | __setattr__(String name, PyObject value) |
| PyString | __str__() |
| Object | __tojava__(Class c) |
Parameters: name name of the class. bases A list of base classes. dict The class dict. Normally this dict is returned by the class code object.
See Also: (String, PyObject[], PyCode, PyObject)
Parameters: name name of the class. bases A list of base classes. dict The class dict. Normally this dict is returned by the class code object.
See Also: safeRepr