mirror of
https://github.com/python/cpython.git
synced 2026-05-10 14:41:01 -04:00
625d0705b9
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.