summaryrefslogtreecommitdiffstats
path: root/Python/structmember.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/structmember.c')
-rw-r--r--Python/structmember.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/structmember.c b/Python/structmember.c
index 42c563e..b5f9bc3 100644
--- a/Python/structmember.c
+++ b/Python/structmember.c
@@ -130,5 +130,5 @@ setmember(addr, mlist, name, v)
}
err_setstr(NameError, name);
- return NULL;
+ return -1;
}