BPython docs: small formatting fixes, basically, so that epydoc can generate dvi, ps and pdf versions.

This commit is contained in:
2004-06-08 04:41:02 +00:00
parent 942a68da07
commit 61bb158291
6 changed files with 345 additions and 311 deletions

View File

@@ -182,8 +182,9 @@ def PupIntInput(text, default, min, max):
default = 50
min = 0
max = 100
result = Draw.PupIntInput('Set this value between 0 and 100', default, min, max)
msg = "Set this value between 0 and 100"
result = Draw.PupIntInput(msg, default, min, max)
if result != None:
print result
else:
@@ -209,12 +210,13 @@ def PupFloatInput(text, default, min, max, clickStep, floatLen):
Example::
default = 50
min = 0
max = 100
clickStep = 10
min = 0.0
max = 10.0
clickStep = 100
floatLen = 3
result = Draw.PupIntInput('Set this value between 0 and 100', default, min, max, clickStep, floatLen)
msg = "Set this value between 0 and 100"
result = Draw.PupFloatInput(msg, default, min, max, clickStep, floatLen)
if result != None:
print result
else: