summaryrefslogtreecommitdiff
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-09-30 13:59:30 +0000
committerDamien George <damien.p.george@gmail.com>2014-09-30 13:59:30 +0000
commit8b03d944e2ae64f7987116ff342fbd1cc3b97b71 (patch)
treecf97eaa8ef616e44c6703535b42b73de7650c1f0 /py/qstrdefs.h
parent1c6a1dc740a8414be6c9b1101354fe9a8974ff13 (diff)
py: Remove IOError since it's deprecated; use OSError instead.
In CPython IOError (and EnvironmentError) is deprecated and aliased to OSError. All modules that used to raise IOError now raise OSError (or a derived exception). In Micro Python we never used IOError (except 1 place, incorrectly) and so don't need to keep it. See http://legacy.python.org/dev/peps/pep-3151/ for background.
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index fda140f11..6a63f0780 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -105,7 +105,6 @@ Q(FileExistsError)
Q(FileNotFoundError)
Q(FloatingPointError)
Q(GeneratorExit)
-Q(IOError)
Q(ImportError)
Q(IndentationError)
Q(IndexError)