| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
IS_EXPR
example:
INPUT(_type='text',_name='name',requires=IS_EXPR('5<int(value)<10'))
the argument of IS_EXPR must be python condition
IS_EXPR('int(value)<2')('1') returns (1,None) IS_EXPR('int(value)<2')('2') returns ('2','invalid expression!')
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Mon Mar 24 10:42:03 2008 | http://epydoc.sourceforge.net |