Added missing docstring

This commit is contained in:
Just van Rossum 2001-12-18 12:53:47 +00:00
parent 66d78bf2a0
commit f30c3ad0d9
2 changed files with 2 additions and 1 deletions

View File

@ -6046,7 +6046,7 @@ static PyMethodDef Ctl_methods[] = {
#if TARGET_API_MAC_CARBON
{"CreateTabsControl", (PyCFunction)Ctl_CreateTabsControl, 1,
NULL},
"(WindowPtr window, Rect boundsRect, UInt16 size, UInt16 direction, ControlTabEntry tabArray) -> (ControlHandle outControl)"},
#endif
{NULL, NULL, 0}
};

View File

@ -777,6 +777,7 @@ def outputCleanupStructMembers(self):
return _res;"""
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)
# generate output (open the output file as late as possible)