File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,6 @@ MP_DEFINE_EXCEPTION(Exception, BaseException)
298298 MP_DEFINE_EXCEPTION (NotImplementedError , RuntimeError )
299299 MP_DEFINE_EXCEPTION (SyntaxError , Exception )
300300 MP_DEFINE_EXCEPTION (IndentationError , SyntaxError )
301- MP_DEFINE_EXCEPTION (MpyError , Exception )
302301 /*
303302 MP_DEFINE_EXCEPTION(TabError, IndentationError)
304303 */
@@ -312,6 +311,7 @@ MP_DEFINE_EXCEPTION(Exception, BaseException)
312311 MP_DEFINE_EXCEPTION (UnicodeError , ValueError )
313312 //TODO: Implement more UnicodeError subclasses which take arguments
314313#endif
314+ MP_DEFINE_EXCEPTION (MpyError , ValueError )
315315 /*
316316 MP_DEFINE_EXCEPTION(Warning, Exception)
317317 MP_DEFINE_EXCEPTION(DeprecationWarning, Warning)
You can’t perform that action at this time.
0 commit comments