module
object.
Modifier and Type | Field and Description |
---|---|
pack-priv final PyDict | dict
Dictionary (globals) of this module. |
pack-priv final String | name
Name of this module. |
public static final PyType | TYPE
The type of Python object this class implements. |
protected final PyType |
Access | Constructor and Description |
---|---|
pack-priv | PyModule(PyType
actual Python sub-class to being created type, String of module name)As |
pack-priv |
Modifier and Type | Method and Description |
---|---|
pack-priv void | |
pack-priv void | |
pack-priv void | |
public PyDict | Returns: The globals of this moduleImplements org. |
public PyType | |
public String |
dict | back to summary |
---|---|
pack-priv final PyDict dict Dictionary (globals) of this module. Not |
name | back to summary |
---|---|
pack-priv final String name Name of this module. Not |
TYPE | back to summary |
---|---|
public static final PyType TYPE The type of Python object this class implements. |
type | back to summary |
---|---|
protected final PyType type |
PyModule | back to summary |
---|---|
pack-priv PyModule(PyType type, String name) As |
PyModule | back to summary |
---|---|
pack-priv PyModule(String name) Construct an instance of the named module.
|
add | back to summary |
---|---|
pack-priv void add(PyType t) Add a type by name to the dictionary.
|
add | back to summary |
---|---|
pack-priv void add(String name, Object o) Add an object by name to the module dictionary. |
exec | back to summary |
---|---|
pack-priv void exec() Initialise the module instance. The main action will be to add
entries to |
getDict | back to summary |
---|---|
public PyDict getDict() Implements org. The global dictionary of a module instance. This is always a
Python |
getType | back to summary |
---|---|
public PyType getType() Implements org. Doc from org. The Python |
toString | back to summary |
---|---|
public String toString() Overrides java. Doc from java. Returns a string representation of the object. |