Skip to content

Commit 61c919c

Browse files
[3.14] gh-148074: Fix typeobject.c missing error return (GH-148075) (#148095)
gh-148074: Fix `typeobject.c` missing error return (GH-148075) (cherry picked from commit c398490) Co-authored-by: Wulian233 <1055917385@qq.com>
1 parent 58756bf commit 61c919c

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
@@ -8908,6 +8908,7 @@ type_ready_post_checks(PyTypeObject *type)
89088908
PyErr_Format(PyExc_SystemError,
89098909
"type %s has a tp_dictoffset that is too small",
89108910
type->tp_name);
8911+
return -1;
89118912
}
89128913
}
89138914
return 0;

0 commit comments

Comments
 (0)