Skip to content

Commit

Permalink
updated tp_flags initialization to use inplace or (python#120625)
Browse files Browse the repository at this point in the history
  • Loading branch information
byundojin authored and estyxx committed Jul 17, 2024
1 parent 3dc67de commit 5110fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objects/typeobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -8395,7 +8395,7 @@ type_ready(PyTypeObject *type, int initial)
}

/* All done -- set the ready flag */
type->tp_flags = type->tp_flags | Py_TPFLAGS_READY;
type->tp_flags |= Py_TPFLAGS_READY;
stop_readying(type);

assert(_PyType_CheckConsistency(type));
Expand Down

0 comments on commit 5110fa6

Please sign in to comment.