(self, *args, **kwargs)
| 132 | # (updating these directly invalidates the Document and Model cache). |
| 133 | class readonlydict(dict): |
| 134 | def __init__(self, *args, **kwargs): |
| 135 | dict.__init__(self, *args, **kwargs) |
| 136 | @classmethod |
| 137 | def fromkeys(cls, k, default=None): |
| 138 | return readonlydict((k, default) for k in k) |