Package netaddr :: Module address :: Class FormatDescriptor |
[hide private]
[frames] | no frames]

# Class FormatDescriptor

source code

    object --+
             |
            FormatDescriptor

A descriptor that checks formatter property assignments for validity.

Instance Methods | [hide private]
__init__(self, default) Constructor. | source code
__set__(self, instance, value) | source code
Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, default) (Constructor) | source code
Constructor. Parameters: `default` - the default callable to use if the formatter property is None. Overrides: object.__init__