Package fife :: Package extensions :: Package pychan :: Module attrs :: Class Attr
[hide private]
[frames] | no frames]

Class Attr

source code

object --+
         |
        Attr

A simple text attribute.

Instance Methods [hide private]
 
__init__(self, name)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
set(self, obj, value)
Parses the given value with the parse method and sets it on the given instance with setattr.
source code
 
parse(self, value)
Parses a value and checks for errors.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parse(self, value)

source code 

Parses a value and checks for errors. Override with specialiced behaviour.