(self, attrs: dict[str, Any])
| 115 | os.replace(f.name, filename) |
| 116 | |
| 117 | def _update(self, attrs: dict[str, Any]) -> None: |
| 118 | for k, v in attrs.items(): |
| 119 | setattr(self, k, v) |
| 120 | |
| 121 | def load(self, filename: Path) -> None: |
| 122 | """Load the grammar tables from a pickle file.""" |