Commits

Anonymous committed 34d667d

(Some) new error handling.

Comments (0)

Files changed (1)

Objects/classobject.c

 #include "funcobject.h"
 #include "classobject.h"
 #include "objimpl.h"
+#include "errors.h"
 
 typedef struct {
 	OB_HEAD
 				return v;
 		}
 	}
-	errno = ESRCH;
+	err_setstr(NameError, name);
 	return NULL;
 }