summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/ctl/ctlsupport.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1999-12-09 22:49:51 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1999-12-09 22:49:51 (GMT)
commit24c353144ad3afb0375b3a93bb74f6a3eb9bb12b (patch)
tree2acb40bfebdbcee510e15fd32a40b2d1213fd0eb /Mac/Modules/ctl/ctlsupport.py
parentd60069cf2eaeac53dc731a8d36702daef79f6288 (diff)
downloadcpython-24c353144ad3afb0375b3a93bb74f6a3eb9bb12b.zip
cpython-24c353144ad3afb0375b3a93bb74f6a3eb9bb12b.tar.gz
cpython-24c353144ad3afb0375b3a93bb74f6a3eb9bb12b.tar.bz2
Fixed a linebreak I forgot, added docstrings, (temporarily) blacklisted a few routines that seem to be missing in my CW Pro 5.1.
Diffstat (limited to 'Mac/Modules/ctl/ctlsupport.py')
-rw-r--r--Mac/Modules/ctl/ctlsupport.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/Mac/Modules/ctl/ctlsupport.py b/Mac/Modules/ctl/ctlsupport.py
index 79c83a7..70ae285 100644
--- a/Mac/Modules/ctl/ctlsupport.py
+++ b/Mac/Modules/ctl/ctlsupport.py
@@ -218,7 +218,7 @@ return _res;
"""
f = ManualGenerator("TrackControl", trackcontrol_body);
-#f.docstring = "(Point startPoint [,trackercallback]) -> (ControlPartCode _rv)"
+f.docstring = lambda: "(Point startPoint [,trackercallback]) -> (ControlPartCode _rv)"
object.add(f)
# CJW - added 5/12/99
@@ -254,8 +254,7 @@ return _res;
"""
f = ManualGenerator("HandleControlClick", handlecontrolclick_body);
-#f.docstring = "(Point startPoint, Integer modifiers, [,trackercallback])
--> (ControlPartCode _rv)"
+f.docstring = lambda: "(Point startPoint, Integer modifiers, [,trackercallback]) -> (ControlPartCode _rv)"
object.add(f)
# Manual Generator for SetControlData
@@ -285,7 +284,7 @@ return _res;
"""
f = ManualGenerator("SetControlData", setcontroldata_body);
-#f.docstring = "(stuff) -> None"
+f.docstring = lambda: "(stuff) -> None"
object.add(f)
# Manual Generator for GetControlData
@@ -330,7 +329,7 @@ return _res;
"""
f = ManualGenerator("GetControlData", getcontroldata_body);
-#f.docstring = "(part, type) -> String"
+f.docstring = lambda: "(part, type) -> String"
object.add(f)
# end CJW