From 6cf3e616e4f0cbf78870b6907af8a256f8d2eee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tarek=20Ziad=C3=A9?= Date: Tue, 20 Apr 2010 14:31:49 +0000 Subject: [PATCH] fixed typo -- thanks Nick --- Doc/library/shutil.rst | 2 +- Lib/shutil.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index 7ec159dcb66..5fd17d25d85 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 e3a79efde02..db47417e9ca 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