@@ -759,64 +759,64 @@ static PyObject *AEDesc_AEResolve(AEDescObject *_self, PyObject *_args)
759759
760760static PyMethodDef AEDesc_methods [] = {
761761 {"AECoerceDesc" , (PyCFunction )AEDesc_AECoerceDesc , 1 ,
762- "(DescType toType) -> (AEDesc result)" },
762+ PyDoc_STR ( "(DescType toType) -> (AEDesc result)" ) },
763763 {"AEDuplicateDesc" , (PyCFunction )AEDesc_AEDuplicateDesc , 1 ,
764- "() -> (AEDesc result)" },
764+ PyDoc_STR ( "() -> (AEDesc result)" ) },
765765 {"AECountItems" , (PyCFunction )AEDesc_AECountItems , 1 ,
766- "() -> (long theCount)" },
766+ PyDoc_STR ( "() -> (long theCount)" ) },
767767 {"AEPutPtr" , (PyCFunction )AEDesc_AEPutPtr , 1 ,
768- "(long index, DescType typeCode, Buffer dataPtr) -> None" },
768+ PyDoc_STR ( "(long index, DescType typeCode, Buffer dataPtr) -> None" ) },
769769 {"AEPutDesc" , (PyCFunction )AEDesc_AEPutDesc , 1 ,
770- "(long index, AEDesc theAEDesc) -> None" },
770+ PyDoc_STR ( "(long index, AEDesc theAEDesc) -> None" ) },
771771 {"AEGetNthPtr" , (PyCFunction )AEDesc_AEGetNthPtr , 1 ,
772- "(long index, DescType desiredType, Buffer dataPtr) -> (AEKeyword theAEKeyword, DescType typeCode, Buffer dataPtr)" },
772+ PyDoc_STR ( "(long index, DescType desiredType, Buffer dataPtr) -> (AEKeyword theAEKeyword, DescType typeCode, Buffer dataPtr)" ) },
773773 {"AEGetNthDesc" , (PyCFunction )AEDesc_AEGetNthDesc , 1 ,
774- "(long index, DescType desiredType) -> (AEKeyword theAEKeyword, AEDesc result)" },
774+ PyDoc_STR ( "(long index, DescType desiredType) -> (AEKeyword theAEKeyword, AEDesc result)" ) },
775775 {"AESizeOfNthItem" , (PyCFunction )AEDesc_AESizeOfNthItem , 1 ,
776- "(long index) -> (DescType typeCode, Size dataSize)" },
776+ PyDoc_STR ( "(long index) -> (DescType typeCode, Size dataSize)" ) },
777777 {"AEDeleteItem" , (PyCFunction )AEDesc_AEDeleteItem , 1 ,
778- "(long index) -> None" },
778+ PyDoc_STR ( "(long index) -> None" ) },
779779 {"AEPutParamPtr" , (PyCFunction )AEDesc_AEPutParamPtr , 1 ,
780- "(AEKeyword theAEKeyword, DescType typeCode, Buffer dataPtr) -> None" },
780+ PyDoc_STR ( "(AEKeyword theAEKeyword, DescType typeCode, Buffer dataPtr) -> None" ) },
781781 {"AEPutParamDesc" , (PyCFunction )AEDesc_AEPutParamDesc , 1 ,
782- "(AEKeyword theAEKeyword, AEDesc theAEDesc) -> None" },
782+ PyDoc_STR ( "(AEKeyword theAEKeyword, AEDesc theAEDesc) -> None" ) },
783783 {"AEGetParamPtr" , (PyCFunction )AEDesc_AEGetParamPtr , 1 ,
784- "(AEKeyword theAEKeyword, DescType desiredType, Buffer dataPtr) -> (DescType typeCode, Buffer dataPtr)" },
784+ PyDoc_STR ( "(AEKeyword theAEKeyword, DescType desiredType, Buffer dataPtr) -> (DescType typeCode, Buffer dataPtr)" ) },
785785 {"AEGetParamDesc" , (PyCFunction )AEDesc_AEGetParamDesc , 1 ,
786- "(AEKeyword theAEKeyword, DescType desiredType) -> (AEDesc result)" },
786+ PyDoc_STR ( "(AEKeyword theAEKeyword, DescType desiredType) -> (AEDesc result)" ) },
787787 {"AESizeOfParam" , (PyCFunction )AEDesc_AESizeOfParam , 1 ,
788- "(AEKeyword theAEKeyword) -> (DescType typeCode, Size dataSize)" },
788+ PyDoc_STR ( "(AEKeyword theAEKeyword) -> (DescType typeCode, Size dataSize)" ) },
789789 {"AEDeleteParam" , (PyCFunction )AEDesc_AEDeleteParam , 1 ,
790- "(AEKeyword theAEKeyword) -> None" },
790+ PyDoc_STR ( "(AEKeyword theAEKeyword) -> None" ) },
791791 {"AEGetAttributePtr" , (PyCFunction )AEDesc_AEGetAttributePtr , 1 ,
792- "(AEKeyword theAEKeyword, DescType desiredType, Buffer dataPtr) -> (DescType typeCode, Buffer dataPtr)" },
792+ PyDoc_STR ( "(AEKeyword theAEKeyword, DescType desiredType, Buffer dataPtr) -> (DescType typeCode, Buffer dataPtr)" ) },
793793 {"AEGetAttributeDesc" , (PyCFunction )AEDesc_AEGetAttributeDesc , 1 ,
794- "(AEKeyword theAEKeyword, DescType desiredType) -> (AEDesc result)" },
794+ PyDoc_STR ( "(AEKeyword theAEKeyword, DescType desiredType) -> (AEDesc result)" ) },
795795 {"AESizeOfAttribute" , (PyCFunction )AEDesc_AESizeOfAttribute , 1 ,
796- "(AEKeyword theAEKeyword) -> (DescType typeCode, Size dataSize)" },
796+ PyDoc_STR ( "(AEKeyword theAEKeyword) -> (DescType typeCode, Size dataSize)" ) },
797797 {"AEPutAttributePtr" , (PyCFunction )AEDesc_AEPutAttributePtr , 1 ,
798- "(AEKeyword theAEKeyword, DescType typeCode, Buffer dataPtr) -> None" },
798+ PyDoc_STR ( "(AEKeyword theAEKeyword, DescType typeCode, Buffer dataPtr) -> None" ) },
799799 {"AEPutAttributeDesc" , (PyCFunction )AEDesc_AEPutAttributeDesc , 1 ,
800- "(AEKeyword theAEKeyword, AEDesc theAEDesc) -> None" },
800+ PyDoc_STR ( "(AEKeyword theAEKeyword, AEDesc theAEDesc) -> None" ) },
801801
802802#if TARGET_API_MAC_CARBON
803803 {"AEGetDescDataSize" , (PyCFunction )AEDesc_AEGetDescDataSize , 1 ,
804- "() -> (Size _rv)" },
804+ PyDoc_STR ( "() -> (Size _rv)" ) },
805805#endif
806806 {"AESend" , (PyCFunction )AEDesc_AESend , 1 ,
807- "(AESendMode sendMode, AESendPriority sendPriority, long timeOutInTicks) -> (AppleEvent reply)" },
807+ PyDoc_STR ( "(AESendMode sendMode, AESendPriority sendPriority, long timeOutInTicks) -> (AppleEvent reply)" ) },
808808 {"AEResetTimer" , (PyCFunction )AEDesc_AEResetTimer , 1 ,
809- "() -> None" },
809+ PyDoc_STR ( "() -> None" ) },
810810 {"AESuspendTheCurrentEvent" , (PyCFunction )AEDesc_AESuspendTheCurrentEvent , 1 ,
811- "() -> None" },
811+ PyDoc_STR ( "() -> None" ) },
812812 {"AEResumeTheCurrentEvent" , (PyCFunction )AEDesc_AEResumeTheCurrentEvent , 1 ,
813- "(AppleEvent reply, EventHandler dispatcher) -> None" },
813+ PyDoc_STR ( "(AppleEvent reply, EventHandler dispatcher) -> None" ) },
814814 {"AEGetTheCurrentEvent" , (PyCFunction )AEDesc_AEGetTheCurrentEvent , 1 ,
815- "() -> None" },
815+ PyDoc_STR ( "() -> None" ) },
816816 {"AESetTheCurrentEvent" , (PyCFunction )AEDesc_AESetTheCurrentEvent , 1 ,
817- "() -> None" },
817+ PyDoc_STR ( "() -> None" ) },
818818 {"AEResolve" , (PyCFunction )AEDesc_AEResolve , 1 ,
819- "(short callbackFlags) -> (AEDesc theToken)" },
819+ PyDoc_STR ( "(short callbackFlags) -> (AEDesc theToken)" ) },
820820 {NULL , NULL , 0 }
821821};
822822
@@ -1307,44 +1307,44 @@ static PyObject *AE_AECallObjectAccessor(PyObject *_self, PyObject *_args)
13071307
13081308static PyMethodDef AE_methods [] = {
13091309 {"AECoercePtr" , (PyCFunction )AE_AECoercePtr , 1 ,
1310- "(DescType typeCode, Buffer dataPtr, DescType toType) -> (AEDesc result)" },
1310+ PyDoc_STR ( "(DescType typeCode, Buffer dataPtr, DescType toType) -> (AEDesc result)" ) },
13111311 {"AECreateDesc" , (PyCFunction )AE_AECreateDesc , 1 ,
1312- "(DescType typeCode, Buffer dataPtr) -> (AEDesc result)" },
1312+ PyDoc_STR ( "(DescType typeCode, Buffer dataPtr) -> (AEDesc result)" ) },
13131313 {"AECreateList" , (PyCFunction )AE_AECreateList , 1 ,
1314- "(Buffer factoringPtr, Boolean isRecord) -> (AEDescList resultList)" },
1314+ PyDoc_STR ( "(Buffer factoringPtr, Boolean isRecord) -> (AEDescList resultList)" ) },
13151315 {"AECreateAppleEvent" , (PyCFunction )AE_AECreateAppleEvent , 1 ,
1316- "(AEEventClass theAEEventClass, AEEventID theAEEventID, AEAddressDesc target, AEReturnID returnID, AETransactionID transactionID) -> (AppleEvent result)" },
1316+ PyDoc_STR ( "(AEEventClass theAEEventClass, AEEventID theAEEventID, AEAddressDesc target, AEReturnID returnID, AETransactionID transactionID) -> (AppleEvent result)" ) },
13171317
13181318#if TARGET_API_MAC_CARBON
13191319 {"AEReplaceDescData" , (PyCFunction )AE_AEReplaceDescData , 1 ,
1320- "(DescType typeCode, Buffer dataPtr) -> (AEDesc theAEDesc)" },
1320+ PyDoc_STR ( "(DescType typeCode, Buffer dataPtr) -> (AEDesc theAEDesc)" ) },
13211321#endif
13221322 {"AEProcessAppleEvent" , (PyCFunction )AE_AEProcessAppleEvent , 1 ,
1323- "(EventRecord theEventRecord) -> None" },
1323+ PyDoc_STR ( "(EventRecord theEventRecord) -> None" ) },
13241324 {"AEGetInteractionAllowed" , (PyCFunction )AE_AEGetInteractionAllowed , 1 ,
1325- "() -> (AEInteractAllowed level)" },
1325+ PyDoc_STR ( "() -> (AEInteractAllowed level)" ) },
13261326 {"AESetInteractionAllowed" , (PyCFunction )AE_AESetInteractionAllowed , 1 ,
1327- "(AEInteractAllowed level) -> None" },
1327+ PyDoc_STR ( "(AEInteractAllowed level) -> None" ) },
13281328 {"AEInteractWithUser" , (PyCFunction )AE_AEInteractWithUser , 1 ,
1329- "(long timeOutInTicks) -> None" },
1329+ PyDoc_STR ( "(long timeOutInTicks) -> None" ) },
13301330 {"AEInstallEventHandler" , (PyCFunction )AE_AEInstallEventHandler , 1 ,
1331- "(AEEventClass theAEEventClass, AEEventID theAEEventID, EventHandler handler) -> None" },
1331+ PyDoc_STR ( "(AEEventClass theAEEventClass, AEEventID theAEEventID, EventHandler handler) -> None" ) },
13321332 {"AERemoveEventHandler" , (PyCFunction )AE_AERemoveEventHandler , 1 ,
1333- "(AEEventClass theAEEventClass, AEEventID theAEEventID) -> None" },
1333+ PyDoc_STR ( "(AEEventClass theAEEventClass, AEEventID theAEEventID) -> None" ) },
13341334 {"AEGetEventHandler" , (PyCFunction )AE_AEGetEventHandler , 1 ,
1335- "(AEEventClass theAEEventClass, AEEventID theAEEventID) -> (EventHandler handler)" },
1335+ PyDoc_STR ( "(AEEventClass theAEEventClass, AEEventID theAEEventID) -> (EventHandler handler)" ) },
13361336 {"AEInstallSpecialHandler" , (PyCFunction )AE_AEInstallSpecialHandler , 1 ,
1337- "(AEKeyword functionClass) -> None" },
1337+ PyDoc_STR ( "(AEKeyword functionClass) -> None" ) },
13381338 {"AERemoveSpecialHandler" , (PyCFunction )AE_AERemoveSpecialHandler , 1 ,
1339- "(AEKeyword functionClass) -> None" },
1339+ PyDoc_STR ( "(AEKeyword functionClass) -> None" ) },
13401340 {"AEManagerInfo" , (PyCFunction )AE_AEManagerInfo , 1 ,
1341- "(AEKeyword keyWord) -> (long result)" },
1341+ PyDoc_STR ( "(AEKeyword keyWord) -> (long result)" ) },
13421342 {"AEObjectInit" , (PyCFunction )AE_AEObjectInit , 1 ,
1343- "() -> None" },
1343+ PyDoc_STR ( "() -> None" ) },
13441344 {"AEDisposeToken" , (PyCFunction )AE_AEDisposeToken , 1 ,
1345- "() -> (AEDesc theToken)" },
1345+ PyDoc_STR ( "() -> (AEDesc theToken)" ) },
13461346 {"AECallObjectAccessor" , (PyCFunction )AE_AECallObjectAccessor , 1 ,
1347- "(DescType desiredClass, AEDesc containerToken, DescType containerClass, DescType keyForm, AEDesc keyData) -> (AEDesc token)" },
1347+ PyDoc_STR ( "(DescType desiredClass, AEDesc containerToken, DescType containerClass, DescType keyForm, AEDesc keyData) -> (AEDesc token)" ) },
13481348 {NULL , NULL , 0 }
13491349};
13501350
0 commit comments