diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-15 20:59:55 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-15 20:59:55 (GMT) |
commit | 88a3e1f46b0262d0d03b1e6fb876c2bb9917e157 (patch) | |
tree | 95da41e6eb8292c007a8c9b33877e7ca55036422 /Doc/library/shutil.rst | |
parent | 3a31ecd8276397fed6703581a07a47ed15b28299 (diff) | |
parent | 618c2e13ca410f342bb057e62e24478b585744aa (diff) | |
download | cpython-88a3e1f46b0262d0d03b1e6fb876c2bb9917e157.zip cpython-88a3e1f46b0262d0d03b1e6fb876c2bb9917e157.tar.gz cpython-88a3e1f46b0262d0d03b1e6fb876c2bb9917e157.tar.bz2 |
Merge: use OSError instead of os.error in the docs.
Diffstat (limited to 'Doc/library/shutil.rst')
-rw-r--r-- | Doc/library/shutil.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index b2efcbd..5d3f881 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -385,7 +385,7 @@ provided by this module. :: else: copy2(srcname, dstname) # XXX What about devices, sockets etc.? - except (IOError, os.error) as why: + except OSError as why: errors.append((srcname, dstname, str(why))) # catch the Error from the recursive copytree so that we can # continue with other files |