| 221 | pass |
| 222 | |
| 223 | class Mapping: |
| 224 | def __getitem__(self, name): |
| 225 | obj = self |
| 226 | for part in name.split('.'): |
| 227 | try: |
| 228 | obj = getattr(obj, part) |
| 229 | except AttributeError: |
| 230 | raise KeyError(name) |
| 231 | return obj |
| 232 | |
| 233 | |
| 234 | class TestTemplate(unittest.TestCase): |
no outgoing calls
searching dependent graphs…