Change memory exception to MemoryError

This commit is contained in:
iabdalkader 2015-07-13 07:07:02 +02:00
parent b5e90c4c8d
commit a26f752285

View File

@ -12,7 +12,7 @@
void *xalloc_fail() void *xalloc_fail()
{ {
nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "Out of Memory!!")); nlr_raise(mp_obj_new_exception_msg(&mp_type_MemoryError, "Out of Memory!!"));
return NULL; return NULL;
} }