pyre.schemata.Float

Module Contents

class pyre.schemata.Float.Float(default=float(), **kwds)

Bases: pyre.schemata.Numeric.Numeric

A type declarator for floats

typename = float
complaint = could not coerce {0.value!r} into a float
coerce(self, value, **kwds)

Attempt to convert {value} into a float