[Python-checkins] CVS: python/dist/src/Mac/Modules/ctl _Ctlmodule.c,1.10,1.11 ctlsupport.py,1.46,1.47
Just van Rossum
jvr@users.sourceforge.net
2001年12月18日 04:53:50 -0800
Update of /cvsroot/python/python/dist/src/Mac/Modules/ctl
In directory usw-pr-cvs1:/tmp/cvs-serv5342
Modified Files:
_Ctlmodule.c ctlsupport.py
Log Message:
Added missing docstring
Index: _Ctlmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/ctl/_Ctlmodule.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** _Ctlmodule.c 2001年12月18日 12:47:47 1.10
--- _Ctlmodule.c 2001年12月18日 12:53:45 1.11
***************
*** 6047,6051 ****
#if TARGET_API_MAC_CARBON
{"CreateTabsControl", (PyCFunction)Ctl_CreateTabsControl, 1,
! NULL},
#endif
{NULL, NULL, 0}
--- 6047,6051 ----
#if TARGET_API_MAC_CARBON
{"CreateTabsControl", (PyCFunction)Ctl_CreateTabsControl, 1,
! "(WindowPtr window, Rect boundsRect, UInt16 size, UInt16 direction, ControlTabEntry tabArray) -> (ControlHandle outControl)"},
#endif
{NULL, NULL, 0}
Index: ctlsupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/ctl/ctlsupport.py,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -d -r1.46 -r1.47
*** ctlsupport.py 2001年12月18日 12:47:47 1.46
--- ctlsupport.py 2001年12月18日 12:53:47 1.47
***************
*** 778,781 ****
--- 778,782 ----
f = ManualGenerator("CreateTabsControl", createtabscontrol_body, condition="#if TARGET_API_MAC_CARBON")
+ f.docstring = lambda: "(WindowPtr window, Rect boundsRect, UInt16 size, UInt16 direction, ControlTabEntry tabArray) -> (ControlHandle outControl)"
module.add(f)