| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
AttributeCollection
Abstract, represents a collection of attributes.
Attribute collections can represent infinite amounts of attributes,
generate them at request, ...
Methods:
- `getattr_`: Try to get the value of an attribute
- `setattr_`: Try to set the value of an attribute
- `delattr_`: Try to delete an attribute
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Try to delete an attribute
Parameters:
`name` :: string
name of the attribute to delete
Returns True, if the attribute was found, False otherwise
|
Try to get the value of an attribute
Parameters:
`name` :: string
name of the attribute to get
Returns whether the attribute was found, and if so, its value
:: (found_attribute::bool, value)
|
Try to set the value of an attribute
Parameters:
`name` :: string
name of the attribute to set
`value`
the new value
Returns True, if the attribute was found, False otherwise
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0 on Mon Jul 19 11:49:29 2010 | http://epydoc.sourceforge.net |