M

Creates method callers and multi-valued getters.

Usage

Source

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

Source

__call__(*names)

__getattr__()

Return a methodcaller constructor.

Usage

Source

__getattr__(name)

__getitem__()

Return a tupled itemgetter.

Usage

Source

__getitem__(keys)