diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 5b55e9ae2076372..bde118e2cc8abe5 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -996,7 +996,7 @@ type_modified_unlocked(PyTypeObject *type) We don't assign new version tags eagerly, but only as needed. */ - if (_Py_atomic_load_uint32_acquire(type->tp_version_tag) == 0) { + if (_Py_atomic_load_uint_relaxed(type->tp_version_tag) == 0) { return; } // Cannot modify static builtin types.