Trees | Indices | Help |
|
---|
|
object --+ | attrgetter
attrgetter(attr, ...) --> attrgetter object
Return a callable object that fetches the given attribute(s) from its operand. After, f=attrgetter('name'), the call f(r) returns r.name. After, g=attrgetter('name', 'date'), the call g(r) returns (r.name, r.date).
|
|||
|
|||
|
|||
a new object with type S, a subtype of T |
|
||
Inherited from |
|
|||
|
x.__getattribute__('name') <==> x.name
|
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0 on Tue Jan 29 22:43:56 2008 | http://epydoc.sourceforge.net |