mirror of https://github.com/python/cpython.git
Added missing docstring
This commit is contained in:
parent
66d78bf2a0
commit
f30c3ad0d9
|
@ -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 @@ 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)
|
||||
|
|
Loading…
Reference in New Issue