From: Tarek Ziadé Date: Tue, 20 Apr 2010 14:31:49 +0000 (+0000) Subject: fixed typo -- thanks Nick X-Git-Tag: v3.2a1~1085 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6cf3e616e4f0cbf78870b6907af8a256f8d2eee7;p=python fixed typo -- thanks Nick --- diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index 7ec159dcb6..5fd17d25d8 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 e3a79efde0..db47417e9c 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