diff options
author | Just van Rossum <just@letterror.com> | 2001-12-18 12:53:47 (GMT) |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2001-12-18 12:53:47 (GMT) |
commit | f30c3ad0d9eb8ab076ebfb1e8faa33ce68130649 (patch) | |
tree | 0f6c16f74527e5122385eb879c7398776032a102 /Mac | |
parent | 66d78bf2a0cf34b7df153dee881e379fb3283ab8 (diff) | |
download | cpython-f30c3ad0d9eb8ab076ebfb1e8faa33ce68130649.zip cpython-f30c3ad0d9eb8ab076ebfb1e8faa33ce68130649.tar.gz cpython-f30c3ad0d9eb8ab076ebfb1e8faa33ce68130649.tar.bz2 |
Added missing docstring
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Modules/ctl/_Ctlmodule.c | 2 | ||||
-rw-r--r-- | Mac/Modules/ctl/ctlsupport.py | 1 |
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) |