class twisted.logger._format.CallMapping(MappingABC): (source)
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 |
Look up an item in the submapping for this CallMapping
, calling it if key
ends with "()"
.
Parameters | key | Undocumented (type: str ) |
Returns | Undocumented (type: Any ) |