summaryrefslogtreecommitdiffstats
path: root/Lib/shutil.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2005-09-01 00:45:28 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2005-09-01 00:45:28 (GMT)
commit4ce69a5b06d230d513139ad0797bcc1b471f910c (patch)
treed808ae4884d4e0b5d2beefa09ec97193115bfea4 /Lib/shutil.py
parent6203196c7c0d9d93593919ecee2625af2db6bc2c (diff)
downloadcpython-4ce69a5b06d230d513139ad0797bcc1b471f910c.zip
cpython-4ce69a5b06d230d513139ad0797bcc1b471f910c.tar.gz
cpython-4ce69a5b06d230d513139ad0797bcc1b471f910c.tar.bz2
No need to import exceptions, they are builtins
Diffstat (limited to 'Lib/shutil.py')
-rw-r--r--Lib/shutil.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/shutil.py b/Lib/shutil.py
index 14baa71..2fca61c 100644
--- a/Lib/shutil.py
+++ b/Lib/shutil.py
@@ -7,13 +7,12 @@ XXX The functions here don't copy the resource fork or other metadata on Mac.
import os
import sys
import stat
-import exceptions
from os.path import abspath
__all__ = ["copyfileobj","copyfile","copymode","copystat","copy","copy2",
"copytree","move","rmtree","Error"]
-class Error(exceptions.EnvironmentError):
+class Error(EnvironmentError):
pass
def copyfileobj(fsrc, fdst, length=16*1024):