M
Creates method callers and multi-valued getters.
Usage
M()The module singleton m is an instance of this class.
Methods
| Name | Description |
|---|---|
| __call__() |
Return a tupled attrgetter.
|
| __getattr__() |
Return a methodcaller constructor.
|
| __getitem__() |
Return a tupled itemgetter.
|
__call__()
Return a tupled attrgetter.
Usage
__call__(*names)__getattr__()
Return a methodcaller constructor.
Usage
__getattr__(name)__getitem__()
Return a tupled itemgetter.
Usage
__getitem__(keys)