| 169 | |
| 170 | |
| 171 | class CallArgs: |
| 172 | def __init__(self, **kwargs): |
| 173 | """A class that records call arguments |
| 174 | |
| 175 | The call arguments must be passed as keyword arguments. It will set |
| 176 | each keyword argument as an attribute of the object along with its |
| 177 | associated value. |
| 178 | """ |
| 179 | for arg, value in kwargs.items(): |
| 180 | setattr(self, arg, value) |
| 181 | |
| 182 | |
| 183 | class FunctionContainer: |
no outgoing calls