summaryrefslogtreecommitdiff
path: root/py/objexcept.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-10-22 19:42:55 +0100
committerDamien George <damien.p.george@gmail.com>2014-10-22 19:42:55 +0100
commite7a478204a984f9f79a99700375d961be6d28a96 (patch)
treeb975cc3e81b2f002a2b131f3b3fb1c371ea535c9 /py/objexcept.c
parentefa04eafd3525d958ccfa75257e6ab572b82f97a (diff)
py: Remove unused and unneeded SystemError exception.
It's purpose is for internal errors that are not catastrophic (ie not as bad as RuntimeError). Since we don't use it, we don't need it.
Diffstat (limited to 'py/objexcept.c')
-rw-r--r--py/objexcept.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objexcept.c b/py/objexcept.c
index a9c0436e2..203517b10 100644
--- a/py/objexcept.c
+++ b/py/objexcept.c
@@ -268,7 +268,7 @@ MP_DEFINE_EXCEPTION(Exception, BaseException)
MP_DEFINE_EXCEPTION_BASE(IndentationError)
MP_DEFINE_EXCEPTION(TabError, IndentationError)
*/
- MP_DEFINE_EXCEPTION(SystemError, Exception)
+ //MP_DEFINE_EXCEPTION(SystemError, Exception)
MP_DEFINE_EXCEPTION(TypeError, Exception)
MP_DEFINE_EXCEPTION(ValueError, Exception)
//TODO: Implement UnicodeErrors which take arguments