mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Added missing docstring
This commit is contained in:
parent
66d78bf2a0
commit
f30c3ad0d9
2 changed files with 2 additions and 1 deletions
|
@ -6046,7 +6046,7 @@ static PyMethodDef Ctl_methods[] = {
|
||||||
|
|
||||||
#if TARGET_API_MAC_CARBON
|
#if TARGET_API_MAC_CARBON
|
||||||
{"CreateTabsControl", (PyCFunction)Ctl_CreateTabsControl, 1,
|
{"CreateTabsControl", (PyCFunction)Ctl_CreateTabsControl, 1,
|
||||||
NULL},
|
"(WindowPtr window, Rect boundsRect, UInt16 size, UInt16 direction, ControlTabEntry tabArray) -> (ControlHandle outControl)"},
|
||||||
#endif
|
#endif
|
||||||
{NULL, NULL, 0}
|
{NULL, NULL, 0}
|
||||||
};
|
};
|
||||||
|
|
|
@ -777,6 +777,7 @@ _res = Py_BuildValue("O&",
|
||||||
return _res;"""
|
return _res;"""
|
||||||
|
|
||||||
f = ManualGenerator("CreateTabsControl", createtabscontrol_body, condition="#if TARGET_API_MAC_CARBON")
|
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)
|
module.add(f)
|
||||||
|
|
||||||
# generate output (open the output file as late as possible)
|
# generate output (open the output file as late as possible)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue