Home | Trees | Index | Help |
|
---|
Module vopu :: Class InitAttributes |
|
object
--+
|
InitAttributes
Base class for objects whose constructor initializes all attributes.
>>> obj = InitAttributes(myattr=u"value1", self=10) >>> obj.myattr u'value1' >>> obj.self 10
Method Summary | |
---|---|
Create a new InitAttributes object. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
__init__(*args,
**kwargs)
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Aug 31 15:41:30 2008 | http://epydoc.sf.net |