Rename this path to target.
(self, target)
| 869 | copystat(x, newx) |
| 870 | |
| 871 | def rename(self, target): |
| 872 | """Rename this path to target.""" |
| 873 | target = os.fspath(target) |
| 874 | return error.checked_call(os.rename, self.strpath, target) |
| 875 | |
| 876 | def dump(self, obj, bin=1): |
| 877 | """Pickle object into path location""" |