Go to the latest version of this document.

# ``twisted`.`python`.`formmethod`.`Boolean``

class documentation

`class Boolean(Argument): (source)`

Constructor: `Boolean(name, default, shortDesc, longDesc, ...)`

View In Hierarchy

Undocumented

Method | `coerce` | Convert the value to the correct format.

Inherited from `Argument`:

Method | `__init__` | Undocumented
Method | `addHints` | Undocumented
Method | `getHint` | Undocumented
Method | `getLongDescription` | Undocumented
Method | `getShortDescription` | Undocumented
Class Variable | `defaultDefault` | Undocumented
Instance Variable | `allowNone` | Undocumented
Instance Variable | `default` | Undocumented
Instance Variable | `hints` | Undocumented
Instance Variable | `longDesc` | Undocumented
Instance Variable | `name` | Undocumented
Instance Variable | `shortDesc` | Undocumented

def coerce(self, inVal): (source)
overrides `twisted.python.formmethod.Argument.coerce`

Convert the value to the correct format.