summaryrefslogtreecommitdiff
path: root/Lib/tabnanny.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-02-01 17:59:49 -0500
committerBenjamin Peterson <benjamin@python.org>2015-02-01 17:59:49 -0500
commit596ffac4b9ff54aeb2134988bb85b3c492ae5849 (patch)
treebf0d44eaf89cefa4bbda16672c882ad3667b433d /Lib/tabnanny.py
parentc67c6e554e82f48627dd4e3b70232ca73d00ec64 (diff)
parent08e89d1aa305a920347fd4d7350684ff37c238f9 (diff)
downloadcpython-596ffac4b9ff54aeb2134988bb85b3c492ae5849.tar.gz
merge 3.3 (#23369)
Diffstat (limited to 'Lib/tabnanny.py')
-rwxr-xr-xLib/tabnanny.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tabnanny.py b/Lib/tabnanny.py
index 5b9b444c1a..46e0f56a39 100755
--- a/Lib/tabnanny.py
+++ b/Lib/tabnanny.py
@@ -95,7 +95,7 @@ def check(file):
try:
f = tokenize.open(file)
- except IOError as msg:
+ except OSError as msg:
errprint("%r: I/O Error: %s" % (file, msg))
return