Use OSError instead of os.error in the docs.
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst
index 080c923..e962112 100644
--- a/Doc/library/shutil.rst
+++ b/Doc/library/shutil.rst
@@ -372,7 +372,7 @@
                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