Skip to content

Commit c398490

Browse files
authored
gh-148074: Fix typeobject.c missing error return (#148075)
1 parent 289f19a commit c398490

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Objects/typeobject.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9345,6 +9345,7 @@ type_ready_post_checks(PyTypeObject *type)
93459345
PyErr_Format(PyExc_SystemError,
93469346
"type %s has a tp_dictoffset that is too small",
93479347
type->tp_name);
9348+
return -1;
93489349
}
93499350
}
93509351
return 0;

0 commit comments

Comments
 (0)