Commit 5b19ef7d authored by Just van Rossum's avatar Just van Rossum

Added missing docstring

parent 023dcfe2
......@@ -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}
};
......
......@@ -777,6 +777,7 @@ _res = Py_BuildValue("O&",
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment