Skip to content

Commit 31d4202

Browse files
committed
put back 'goto error'
1 parent 0068e9c commit 31d4202

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
@@ -9141,6 +9141,7 @@ type_new_set_names(PyTypeObject *type)
91419141
"Error calling __set_name__ on '%.100s' instance %R "
91429142
"in '%.100s'",
91439143
Py_TYPE(value)->tp_name, key, type->tp_name);
9144+
goto error;
91449145
}
91459146
else {
91469147
Py_DECREF(res);

0 commit comments

Comments
 (0)