Skip to content

Commit f65d17b

Browse files
authored
updated tp_flags initialization to use inplace or (#120625)
1 parent ff5751a commit f65d17b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/typeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8395,7 +8395,7 @@ type_ready(PyTypeObject *type, int initial)
83958395
}
83968396

83978397
/* All done -- set the ready flag */
8398-
type->tp_flags = type->tp_flags | Py_TPFLAGS_READY;
8398+
type->tp_flags |= Py_TPFLAGS_READY;
83998399
stop_readying(type);
84008400

84018401
assert(_PyType_CheckConsistency(type));

0 commit comments

Comments
 (0)