|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
acceptXorUnset(accept)
Interprets '' as UNSET_VALUE, otherwise uses provided accept
function. |
source code
|
|
|
acceptFloatOrUnset(x)
Like acceptFloat, but acceptFloatOrUnset('') returns
qubx.util_types.UNSET_VALUE. |
source code
|
|
|
formatFloatOrUnset(fmt)
Returns f(val): if val != qubx.util_types.UNSET_VALUE: return
fmt(val); else: return '' |
source code
|
|
|
acceptBool(x)
Returns False if x is in ['', 'False', 'false']; True otherwise. |
source code
|
|
|
acceptCmp(convert,
compare,
errmsg)
Returns an accept function which enforces `compare(convert(s)) ==
True. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
acceptList(acceptor,
dashrange,
description) |
source code
|
|
|
acceptIntList(acceptor=<__builtin__.function object>,
description=' integers ' ) |
source code
|
|
|
acceptFloatList(acceptor=<__builtin__.function object>,
description=' numbers ' ) |
source code
|
|
|
|
|
|
|
|
|
MissingName(msg)
Returns the symbol named in a NameError's message. |
source code
|
|
|
acceptF(static=[ ' x ' ] ,
avail=[ ] ,
custom=False,
typ=<type 'float'>,
default=' 1.0 ' ,
locals=None)
Returns an accept function which converts a Python expression into a
FuncAcceptor |
source code
|
|
|
|
|
Union(ls)
Given an iterable of subiterables, returns a list of unique elements
in the subiterables. |
source code
|
|
|
|
|
acceptODEorF(static=[ ' x ' ] ,
avail=[ ] ,
custom=False,
locals=None)
Returns an accept function which acts like acceptODEs if ' is
present, otherwise like acceptF. |
source code
|
|
|
|