| [ Web Proxy ] |
| Viewing: https://docs.python.org/2.3/api/moduleObjects.html | [Back] [Original] |
There are only a few functions special to module objects.
types.ModuleType.
| int PyModule_Check( | PyObject *p) |
| int PyModule_CheckExact( | PyObject *p) |
| PyObject* PyModule_New( | char *name) |
| PyObject* PyModule_GetDict( | PyObject *module) |
| char* PyModule_GetName( | PyObject *module) |
| char* PyModule_GetFilename( | PyObject *module) |
| int PyModule_AddObject( | PyObject *module, char *name, PyObject *value) |
-1 on error, 0 on success.
New in version 2.0.
| int PyModule_AddIntConstant( | PyObject *module, char *name, long value) |
-1 on error, 0 on success.
New in version 2.0.
| int PyModule_AddStringConstant( | PyObject *module, char *name, char *value) |
-1 on error, 0 on success.
New in version 2.0.
See About this document... for information on suggesting changes.
| Web Proxy Viewer | New URL | Original Page |