class documentation

class twisted.logger._format.CallMapping(MappingABC): (source)

View In Hierarchy

Read-only mapping that turns a ()-suffix in key names into an invocation of the key rather than a lookup of the key.

Implementation support for formatWithCall.

Method __init__
Method __iter__ Undocumented
Method __len__ Undocumented
Method __getitem__ Look up an item in the submapping for this CallMapping, calling it if key ends with "()".
Instance Variable _submapping Undocumented
def __init__(self, submapping): (source)
ParameterssubmappingAnother read-only mapping which will be used to look up items. (type: Mapping[str, Any])
_submapping = (source)

Undocumented

def __iter__(self): (source)

Undocumented

ReturnsUndocumented (type: Iterator)
def __len__(self): (source)

Undocumented

ReturnsUndocumented (type: int)
def __getitem__(self, key): (source)

Look up an item in the submapping for this CallMapping, calling it if key ends with "()".

ParameterskeyUndocumented (type: str)
ReturnsUndocumented (type: Any)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.