Skip to content

Commit 4e89463

Browse files
Wulian233ljfp
authored andcommitted
pythongh-148074: Fix typeobject.c missing error return (python#148075)
1 parent 315db30 commit 4e89463

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)