|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.python.core.PyObject
org.python.core.PyModule
public class PyModule
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.python.core.PyObject |
|---|
PyObject.ConversionException |
| Field Summary | |
|---|---|
PyObject |
__dict__
|
static java.lang.String |
exposed_name
|
| Constructor Summary | |
|---|---|
PyModule()
|
|
PyModule(PyType subType)
|
|
PyModule(PyType subType,
java.lang.String name)
|
|
PyModule(java.lang.String name)
|
|
PyModule(java.lang.String name,
PyObject dict)
|
|
| Method Summary | |
|---|---|
void |
__delattr__(java.lang.String attr)
A variant of the __delattr__ method which accepts a String as the key. |
PyObject |
__dir__()
Equivalent to the standard Python __dir__ method. |
PyObject |
__findattr__(java.lang.String attr)
A variant of the __findattr__ method which accepts a Java String as the name. |
void |
__setattr__(java.lang.String attr,
PyObject value)
A variant of the __setattr__ method which accepts a String as the key. |
void |
delDict()
|
PyObject |
fastGetDict()
xxx implements where meaningful |
PyObject |
getDict()
xxx implements where meaningful |
PyObject |
getDoc()
|
void |
setDict(PyObject newDict)
|
java.lang.String |
toString()
|
static void |
typeSetup(PyObject dict,
PyType.Newstyle marker)
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String exposed_name
public PyObject __dict__
| Constructor Detail |
|---|
public PyModule()
public PyModule(PyType subType)
public PyModule(PyType subType,
java.lang.String name)
public PyModule(java.lang.String name)
public PyModule(java.lang.String name,
PyObject dict)
| Method Detail |
|---|
public static void typeSetup(PyObject dict,
PyType.Newstyle marker)
public PyObject fastGetDict()
PyObject
fastGetDict in class PyObjectpublic PyObject getDict()
PyObject
getDict in class PyObjectpublic void setDict(PyObject newDict)
setDict in class PyObjectpublic void delDict()
delDict in class PyObjectpublic PyObject getDoc()
getDoc in class PyObjectpublic PyObject __findattr__(java.lang.String attr)
PyObjectString as the name.
Warning: name must be an interned string!
__findattr__ in class PyObjectattr - the name to lookup in this namespace
must be an interned string .
PyObject.__findattr__(PyString)
public void __setattr__(java.lang.String attr,
PyObject value)
PyObject
__setattr__ in class PyObjectattr - the name whose value will be set -
must be an interned string .value - the value to set this name toPyObject.__setattr__(PyString, PyObject)public void __delattr__(java.lang.String attr)
PyObject__delattr__(PyString name)
with the appropriate args.
The only reason to override this method is for performance.
__delattr__ in class PyObjectattr - the name which will be removed -
must be an interned string .PyObject.__delattr__(PyString)public java.lang.String toString()
toString in class PyObjectpublic PyObject __dir__()
PyObject
__dir__ in class PyObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||