Commit 392b3193 authored by Benjamin Peterson's avatar Benjamin Peterson

merge 3.4 (#22933)

parents f66aeff3 1fe16c2b
......@@ -288,12 +288,9 @@ Directory and files operations
Recursively move a file or directory (*src*) to another location (*dst*)
and return the destination.
If the destination is a directory or a symlink to a directory, then *src* is
moved inside that directory.
The destination directory must not already exist. If the destination already
exists but is not a directory, it may be overwritten depending on
:func:`os.rename` semantics.
If the destination is an existing directory, then *src* is moved inside that
directory. If the destination already exists but is not a directory, it may
be overwritten depending on :func:`os.rename` semantics.
If the destination is on the current filesystem, then :func:`os.rename` is
used. Otherwise, *src* is copied to *dst* using *copy_function* and then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment