class 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 | __getitem__ |
Look up an item in the submapping for this CallMapping, calling it if key ends with "()". |
| Method | __init__ |
|
| Method | __iter__ |
Undocumented |
| Method | __len__ |
Undocumented |
| Instance Variable | _submapping |
Undocumented |
CallMapping, calling it if key ends with "()".| Parameters | |
key:str | Undocumented |
| Returns | |
Any | Undocumented |