summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2001-12-18 12:53:47 (GMT)
committerJust van Rossum <just@letterror.com>2001-12-18 12:53:47 (GMT)
commitf30c3ad0d9eb8ab076ebfb1e8faa33ce68130649 (patch)
tree0f6c16f74527e5122385eb879c7398776032a102
parent66d78bf2a0cf34b7df153dee881e379fb3283ab8 (diff)
downloadcpython-f30c3ad0d9eb8ab076ebfb1e8faa33ce68130649.zip
cpython-f30c3ad0d9eb8ab076ebfb1e8faa33ce68130649.tar.gz
cpython-f30c3ad0d9eb8ab076ebfb1e8faa33ce68130649.tar.bz2
Added missing docstring
-rw-r--r--Mac/Modules/ctl/_Ctlmodule.c2
-rw-r--r--Mac/Modules/ctl/ctlsupport.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/Mac/Modules/ctl/_Ctlmodule.c b/Mac/Modules/ctl/_Ctlmodule.c
index 5f27ed3..7571c3f 100644
--- a/Mac/Modules/ctl/_Ctlmodule.c
+++ b/Mac/Modules/ctl/_Ctlmodule.c
@@ -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}
};
diff --git a/Mac/Modules/ctl/ctlsupport.py b/Mac/Modules/ctl/ctlsupport.py
index 4529484..5538608 100644
--- a/Mac/Modules/ctl/ctlsupport.py
+++ b/Mac/Modules/ctl/ctlsupport.py
@@ -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)