| Trees | Index | Help |
|
|---|
| Module argparser :: Class BooleanOrNoneChecker |
|
TypeChecker --+
|
BooleanOrNoneChecker
| Method Summary | |
|---|---|
Initializes the TypeChecker. | |
| int (0 or 1) or None |
Verfies the argument is a boolean (using utils.convert_boolean function) and converts it to a boolean value (0 or 1). |
| Method Details |
|---|
__init__(self,
typename,
typeargs)
Initializes the TypeChecker. Over-ridden by all the TypeChecker
subclasses.
|
check(self, arg)Verfies the argument is a boolean (using utils.convert_boolean function) and converts it to a boolean value (0 or 1). Also handles None, "-" and the empty string as None.
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 1.1 on Mon Apr 28 21:11:24 2003 | http://epydoc.sf.net |