(self, doctrees: bool = False)
| 220 | return self._warning |
| 221 | |
| 222 | def cleanup(self, doctrees: bool = False) -> None: |
| 223 | sys.path[:] = self._saved_path |
| 224 | _clean_up_global_state() |
| 225 | try: |
| 226 | self.docutils_conf_path.unlink(missing_ok=True) |
| 227 | except OSError as exc: |
| 228 | if exc.errno != 30: # Ignore "read-only file system" errors |
| 229 | raise |
| 230 | |
| 231 | def __repr__(self) -> str: |
| 232 | return f'<{self.__class__.__name__} buildername={self._builder_name!r}>' |