kiwi.python.Settable
class documentationkiwi.python
(View In Hierarchy)
A mixin class for syntactic sugar. Lets you assign attributes by calling with keyword arguments; for example, C{x(a=b,c=d,y=z)} is the same as C{x.a=b;x.c=d;x.y=z}. The most useful place for this is where you don't want to name a variable, but you do want to set some attributes; for example, C{X()(y=z,a=b)}.
Method | __init__ | Undocumented |
Method | getattributes | Fetches the attributes used to create this object @returns: a dictionary with attributes |
Method | __repr__ | Undocumented |