mirror of
https://github.com/python/cpython.git
synced 2025-08-05 01:18:26 +00:00
Added a _v21 def to FL.py and added two new input field types
Added runcall(func, *args) interfaces to profile.py, bdb.py, pdb.py, wdb.py Added new module bisect.py and used it in sched.py. Mostly cosmetic changes to profile.py (changed output format).
This commit is contained in:
parent
2179945eec
commit
4e16098ce7
9 changed files with 167 additions and 160 deletions
|
@ -4,6 +4,7 @@
|
|||
# Alternate use: from FL import *; ... NORMAL_BOX ... etc.
|
||||
|
||||
_v20 = 1
|
||||
_v21 = 1
|
||||
##import fl
|
||||
##try:
|
||||
## _v20 = (fl.get_rgbmode <> None)
|
||||
|
@ -198,6 +199,9 @@ if _v20:
|
|||
FLOAT_INPUT = 1
|
||||
INT_INPUT = 2
|
||||
HIDDEN_INPUT = 3
|
||||
if _v21:
|
||||
MULTILINE_INPUT = 4
|
||||
SECRET_INPUT = 5
|
||||
else:
|
||||
ALWAYS_INPUT = 1
|
||||
INPUT_BOXTYPE = DOWN_BOX
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue