Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
type_modified_unlocked
1 parent d0ecbdd commit 6e1e780Copy full SHA for 6e1e780
1 file changed
Objects/typeobject.c
@@ -1038,7 +1038,7 @@ type_modified_unlocked(PyTypeObject *type)
1038
We don't assign new version tags eagerly, but only as
1039
needed.
1040
*/
1041
- if (type->tp_version_tag == 0) {
+ if (FT_ATOMIC_LOAD_UINT_RELAXED(type->tp_version_tag) == 0) {
1042
return;
1043
}
1044
// Cannot modify static builtin types.
0 commit comments