summaryrefslogtreecommitdiff
path: root/Python/cgensupport.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/cgensupport.c')
-rw-r--r--Python/cgensupport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/cgensupport.c b/Python/cgensupport.c
index b24c80a428..a3023ebb9c 100644
--- a/Python/cgensupport.c
+++ b/Python/cgensupport.c
@@ -171,7 +171,7 @@ getistringarg(args, nargs, i, p_arg)
{
object *v;
if (!getiobjectarg(args, nargs, i, &v))
- return NULL;
+ return 0;
if (!is_stringobject(v)) {
return err_badarg();
}