summaryrefslogtreecommitdiffstats
path: root/Python/object_stack.c
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2024-08-25 15:51:51 (GMT)
committerGitHub <noreply@github.com>2024-08-25 15:51:51 (GMT)
commit625d0705b9ab348f85853ed73b796763b70154a5 (patch)
tree40e40aa79d09b2ad39ed7cb4b5efb34ed20e20b5 /Python/object_stack.c
parentaa905925e1a0120e59e4ffe0874fbd098bf47e63 (diff)
downloadcpython-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/object_stack.c')
0 files changed, 0 insertions, 0 deletions