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.
static_assert
1 parent b649a96 commit d69ec0fCopy full SHA for d69ec0f
Objects/typeobject.c
@@ -1214,8 +1214,8 @@ _PyType_GetVersionForCurrentState(PyTypeObject *tp)
1214
1215
1216
#define MAX_VERSIONS_PER_CLASS 1000
1217
-_Static_assert(MAX_VERSIONS_PER_CLASS < _Py_ATTR_CACHE_UNUSED,
1218
- "_Py_ATTR_CACHE_UNUSED must be bigger than max");
+static_assert(MAX_VERSIONS_PER_CLASS < _Py_ATTR_CACHE_UNUSED,
+ "_Py_ATTR_CACHE_UNUSED must be bigger than max");
1219
1220
static int
1221
assign_version_tag(PyInterpreterState *interp, PyTypeObject *type)
0 commit comments