diff options
-rw-r--r-- | Doc/library/shutil.rst | 2 | ||||
-rw-r--r-- | Lib/shutil.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index 7ec159d..5fd17d2 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -103,7 +103,7 @@ Directory and files operations exist, a exception will be added in the list of errors raised in a :exc:`Error` exception at the end of the copy process. You can set the optional *ignore_dangling_symlinks* flag to true if you - want to silent this exception. + want to silence this exception. If *ignore* is given, it must be a callable that will receive as its arguments the directory being visited by :func:`copytree`, and a list of its diff --git a/Lib/shutil.py b/Lib/shutil.py index e3a79ef..db47417 100644 --- a/Lib/shutil.py +++ b/Lib/shutil.py @@ -162,7 +162,7 @@ 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 silent this exception. + want to silence this exception. The optional ignore argument is a callable. If given, it |