Skip to content

Commit 3d7689f

Browse files
authored
Update typeobject.c
1 parent 98aa44d commit 3d7689f

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
@@ -996,7 +996,7 @@ type_modified_unlocked(PyTypeObject *type)
996996
We don't assign new version tags eagerly, but only as
997997
needed.
998998
*/
999-
if (_Py_atomic_load_uint32_acquire(type->tp_version_tag) == 0) {
999+
if (_Py_atomic_load_uint_relaxed(type->tp_version_tag) == 0) {
10001000
return;
10011001
}
10021002
// Cannot modify static builtin types.

0 commit comments

Comments
 (0)