diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-16 09:09:31 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-16 09:09:31 (GMT) |
commit | 49931887d7e135190fbcf0119e03419a7101ff7c (patch) | |
tree | c32d8d0ddf92ede69e1430361e0434d81de50318 /Mac/Modules/cm | |
parent | 44b99e0a1f6166ea05e7327c56dda601e017d401 (diff) | |
download | cpython-49931887d7e135190fbcf0119e03419a7101ff7c.zip cpython-49931887d7e135190fbcf0119e03419a7101ff7c.tar.gz cpython-49931887d7e135190fbcf0119e03419a7101ff7c.tar.bz2 |
Regenerated with PyDoc_STR() around docstrings.
Diffstat (limited to 'Mac/Modules/cm')
-rw-r--r-- | Mac/Modules/cm/_Cmmodule.c | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/Mac/Modules/cm/_Cmmodule.c b/Mac/Modules/cm/_Cmmodule.c index d0da473..8ea72f0 100644 --- a/Mac/Modules/cm/_Cmmodule.c +++ b/Mac/Modules/cm/_Cmmodule.c @@ -277,31 +277,31 @@ static PyObject *CmpInstObj_ComponentSetTarget(ComponentInstanceObject *_self, P static PyMethodDef CmpInstObj_methods[] = { {"CloseComponent", (PyCFunction)CmpInstObj_CloseComponent, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"GetComponentInstanceError", (PyCFunction)CmpInstObj_GetComponentInstanceError, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"SetComponentInstanceError", (PyCFunction)CmpInstObj_SetComponentInstanceError, 1, - "(OSErr theError) -> None"}, + PyDoc_STR("(OSErr theError) -> None")}, {"GetComponentInstanceStorage", (PyCFunction)CmpInstObj_GetComponentInstanceStorage, 1, - "() -> (Handle _rv)"}, + PyDoc_STR("() -> (Handle _rv)")}, {"SetComponentInstanceStorage", (PyCFunction)CmpInstObj_SetComponentInstanceStorage, 1, - "(Handle theStorage) -> None"}, + PyDoc_STR("(Handle theStorage) -> None")}, #if !TARGET_API_MAC_CARBON {"GetComponentInstanceA5", (PyCFunction)CmpInstObj_GetComponentInstanceA5, 1, - "() -> (long _rv)"}, + PyDoc_STR("() -> (long _rv)")}, #endif #if !TARGET_API_MAC_CARBON {"SetComponentInstanceA5", (PyCFunction)CmpInstObj_SetComponentInstanceA5, 1, - "(long theA5) -> None"}, + PyDoc_STR("(long theA5) -> None")}, #endif {"ComponentFunctionImplemented", (PyCFunction)CmpInstObj_ComponentFunctionImplemented, 1, - "(short ftnNumber) -> (long _rv)"}, + PyDoc_STR("(short ftnNumber) -> (long _rv)")}, {"GetComponentVersion", (PyCFunction)CmpInstObj_GetComponentVersion, 1, - "() -> (long _rv)"}, + PyDoc_STR("() -> (long _rv)")}, {"ComponentSetTarget", (PyCFunction)CmpInstObj_ComponentSetTarget, 1, - "(ComponentInstance target) -> (long _rv)"}, + PyDoc_STR("(ComponentInstance target) -> (long _rv)")}, {NULL, NULL, 0} }; @@ -669,35 +669,35 @@ static PyObject *CmpObj_GetComponentIconSuite(ComponentObject *_self, PyObject * static PyMethodDef CmpObj_methods[] = { {"UnregisterComponent", (PyCFunction)CmpObj_UnregisterComponent, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"GetComponentInfo", (PyCFunction)CmpObj_GetComponentInfo, 1, - "(Handle componentName, Handle componentInfo, Handle componentIcon) -> (ComponentDescription cd)"}, + PyDoc_STR("(Handle componentName, Handle componentInfo, Handle componentIcon) -> (ComponentDescription cd)")}, {"OpenComponent", (PyCFunction)CmpObj_OpenComponent, 1, - "() -> (ComponentInstance _rv)"}, + PyDoc_STR("() -> (ComponentInstance _rv)")}, {"ResolveComponentAlias", (PyCFunction)CmpObj_ResolveComponentAlias, 1, - "() -> (Component _rv)"}, + PyDoc_STR("() -> (Component _rv)")}, {"GetComponentPublicIndString", (PyCFunction)CmpObj_GetComponentPublicIndString, 1, - "(Str255 theString, short strListID, short index) -> None"}, + PyDoc_STR("(Str255 theString, short strListID, short index) -> None")}, {"GetComponentRefcon", (PyCFunction)CmpObj_GetComponentRefcon, 1, - "() -> (long _rv)"}, + PyDoc_STR("() -> (long _rv)")}, {"SetComponentRefcon", (PyCFunction)CmpObj_SetComponentRefcon, 1, - "(long theRefcon) -> None"}, + PyDoc_STR("(long theRefcon) -> None")}, {"OpenComponentResFile", (PyCFunction)CmpObj_OpenComponentResFile, 1, - "() -> (short _rv)"}, + PyDoc_STR("() -> (short _rv)")}, {"GetComponentResource", (PyCFunction)CmpObj_GetComponentResource, 1, - "(OSType resType, short resID) -> (Handle theResource)"}, + PyDoc_STR("(OSType resType, short resID) -> (Handle theResource)")}, {"GetComponentIndString", (PyCFunction)CmpObj_GetComponentIndString, 1, - "(Str255 theString, short strListID, short index) -> None"}, + PyDoc_STR("(Str255 theString, short strListID, short index) -> None")}, {"CountComponentInstances", (PyCFunction)CmpObj_CountComponentInstances, 1, - "() -> (long _rv)"}, + PyDoc_STR("() -> (long _rv)")}, {"SetDefaultComponent", (PyCFunction)CmpObj_SetDefaultComponent, 1, - "(short flags) -> None"}, + PyDoc_STR("(short flags) -> None")}, {"CaptureComponent", (PyCFunction)CmpObj_CaptureComponent, 1, - "(Component capturingComponent) -> (Component _rv)"}, + PyDoc_STR("(Component capturingComponent) -> (Component _rv)")}, {"UncaptureComponent", (PyCFunction)CmpObj_UncaptureComponent, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"GetComponentIconSuite", (PyCFunction)CmpObj_GetComponentIconSuite, 1, - "() -> (Handle iconSuite)"}, + PyDoc_STR("() -> (Handle iconSuite)")}, {NULL, NULL, 0} }; @@ -870,19 +870,19 @@ static PyObject *Cm_RegisterComponentResourceFile(PyObject *_self, PyObject *_ar static PyMethodDef Cm_methods[] = { {"RegisterComponentResource", (PyCFunction)Cm_RegisterComponentResource, 1, - "(ComponentResourceHandle cr, short global) -> (Component _rv)"}, + PyDoc_STR("(ComponentResourceHandle cr, short global) -> (Component _rv)")}, {"FindNextComponent", (PyCFunction)Cm_FindNextComponent, 1, - "(Component aComponent, ComponentDescription looking) -> (Component _rv)"}, + PyDoc_STR("(Component aComponent, ComponentDescription looking) -> (Component _rv)")}, {"CountComponents", (PyCFunction)Cm_CountComponents, 1, - "(ComponentDescription looking) -> (long _rv)"}, + PyDoc_STR("(ComponentDescription looking) -> (long _rv)")}, {"GetComponentListModSeed", (PyCFunction)Cm_GetComponentListModSeed, 1, - "() -> (long _rv)"}, + PyDoc_STR("() -> (long _rv)")}, {"CloseComponentResFile", (PyCFunction)Cm_CloseComponentResFile, 1, - "(short refnum) -> None"}, + PyDoc_STR("(short refnum) -> None")}, {"OpenDefaultComponent", (PyCFunction)Cm_OpenDefaultComponent, 1, - "(OSType componentType, OSType componentSubType) -> (ComponentInstance _rv)"}, + PyDoc_STR("(OSType componentType, OSType componentSubType) -> (ComponentInstance _rv)")}, {"RegisterComponentResourceFile", (PyCFunction)Cm_RegisterComponentResourceFile, 1, - "(short resRefNum, short global) -> (long _rv)"}, + PyDoc_STR("(short resRefNum, short global) -> (long _rv)")}, {NULL, NULL, 0} }; |