diff --git a/lass/python/class_definition.cpp b/lass/python/class_definition.cpp index 609cd6c4..dd484247 100644 --- a/lass/python/class_definition.cpp +++ b/lass/python/class_definition.cpp @@ -164,6 +164,9 @@ ClassDefinition::ClassDefinition( #endif #if PY_VERSION_HEX >= 0x030C0000 // >= 3.12 0, /*tp_watched, internal only */ +#endif +#if PY_VERSION_HEX >= 0x030D0000 // >= 3.13 + 0, /*tp_versions_used */ #endif }; type_ = type;