diff Python/structmember.c @ 95:a5bf7d5959ce legacy-trunk

Return -1 for errors.
author Guido van Rossum <guido@python.org>
date Thu, 20 Dec 1990 23:12:40 +0000
parents a6934380c6e7
children 853b736a6a9e
line wrap: on
line diff
--- a/Python/structmember.c	Thu Dec 20 23:11:33 1990 +0000
+++ b/Python/structmember.c	Thu Dec 20 23:12:40 1990 +0000
@@ -130,5 +130,5 @@
 	}
 	
 	err_setstr(NameError, name);
-	return NULL;
+	return -1;
 }