Home | Trees | Indices | Help |
|
---|
|
object --+ | Table.RowType
Helpful parent class for row objects. Also used as the default row class by Table instances. Provides an __init__() method that accepts keyword arguments from which the object's attributes are initialized.
Example:
>>> x = Table.RowType(a = 0.0, b = "test", c = True) >>> x.a 0.0 >>> x.b 'test' >>> x.c True
Also provides .__getstate__() and .__setstate__() methods to allow row objects to be pickled (otherwise, because they all use __slots__ to reduce their memory footprint, they aren't pickleable).
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Dec 12 00:34:20 2017 | http://epydoc.sourceforge.net |