mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
added a note about the ignore_dangling_symlinks option
This commit is contained in:
parent
51a6f72d19
commit
8c26c7d907
2 changed files with 4 additions and 3 deletions
|
@ -161,8 +161,8 @@ def copytree(src, dst, symlinks=False, ignore=None, copy_function=copy2,
|
|||
an Error exception at the end of the copy process.
|
||||
|
||||
You can set the optional ignore_dangling_symlinks flag to true if you
|
||||
want to silence this exception.
|
||||
|
||||
want to silence this exception. Notice that this has no effect on
|
||||
platforms that don't support os.symlink.
|
||||
|
||||
The optional ignore argument is a callable. If given, it
|
||||
is called with the `src` parameter, which is the directory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue