(path: str)
| 228 | return _handle_readonly(func, path, excinfo[1]) |
| 229 | |
| 230 | def rmtree(path: str) -> None: |
| 231 | shutil.rmtree(path, ignore_errors=False, onerror=_handle_readonly_old) |
| 232 | else: # pragma: >=3.12 cover |
| 233 | def rmtree(path: str) -> None: |
| 234 | """On windows, rmtree fails for readonly dirs.""" |
no outgoing calls