diff options
author | Barney Gale <barney.gale@gmail.com> | 2024-08-25 15:51:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-25 15:51:51 (GMT) |
commit | 625d0705b9ab348f85853ed73b796763b70154a5 (patch) | |
tree | 40e40aa79d09b2ad39ed7cb4b5efb34ed20e20b5 /Python/future.c | |
parent | aa905925e1a0120e59e4ffe0874fbd098bf47e63 (diff) | |
download | cpython-625d0705b9ab348f85853ed73b796763b70154a5.zip cpython-625d0705b9ab348f85853ed73b796763b70154a5.tar.gz cpython-625d0705b9ab348f85853ed73b796763b70154a5.tar.bz2 |
GH-73991: Add `pathlib.Path.move()` (#122073)
Add a `Path.move()` method that moves a file or directory tree, and returns a new `Path` instance pointing to the target.
This method is similar to `shutil.move()`, except that it doesn't accept a *copy_function* argument, and it doesn't check whether the destination is an existing directory.
Diffstat (limited to 'Python/future.c')
0 files changed, 0 insertions, 0 deletions