Remove this file or link. If the path is a directory, use rmdir() instead.
(self)
| 1487 | self._accessor.lchmod(self, mode) |
| 1488 | |
| 1489 | def unlink(self): |
| 1490 | """ |
| 1491 | Remove this file or link. |
| 1492 | If the path is a directory, use rmdir() instead. |
| 1493 | """ |
| 1494 | if self._closed: |
| 1495 | self._raise_closed() |
| 1496 | self._accessor.unlink(self) |
| 1497 | |
| 1498 | def rmdir(self): |
| 1499 | """ |