commit | c1edec3374bb03ca936be3cd0b968140ec58e819 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Wed Jun 03 07:25:35 2009 +0000 |
committer | Georg Brandl <georg@python.org> | Wed Jun 03 07:25:35 2009 +0000 |
tree | 4160a66a97eab66e3cc6d533566e8368a9cc9b8f | |
parent | dad7b7b1cb83d6ead5e8af5c747256a1aaa3f6cf [diff] [blame] |
Use the preferred form of raise statements in the docs.
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index e09b646..ad3ab57 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst
@@ -216,7 +216,7 @@ except OSError, why: errors.extend((src, dst, str(why))) if errors: - raise Error, errors + raise Error(errors) Another example that uses the :func:`ignore_patterns` helper::