mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Fixed a linebreak I forgot, added docstrings, (temporarily) blacklisted a few routines that seem to be missing in my CW Pro 5.1.
This commit is contained in:
parent
d60069cf2e
commit
24c353144a
3 changed files with 147 additions and 17 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue