Home | Trees | Indices | Help |
---|
|
object --+ | basevalidator.BaseValidator --+ | CheckLength --+ | IsEmpty
Checks the value is empty (an empty string, list, etc.)
For example:
>>> v = IsEmpty() >>> v("abc") Traceback (most recent call last): ... ValueError: 'abc' is not empty >>> v([]) []
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Jul 22 15:13:46 2011 | http://epydoc.sourceforge.net |