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.
1 parent c3c60f4 commit 1a879b5Copy full SHA for 1a879b5
include/pybind11/detail/class.h
@@ -586,10 +586,10 @@ inline void enable_dynamic_attributes(PyHeapTypeObject *heap_type) {
586
type->tp_basicsize += (ssize_t) sizeof(PyObject *); // and allocate enough space for it
587
#else
588
type->tp_flags |= Py_TPFLAGS_MANAGED_DICT;
589
-#if PY_VERSION_HEX >= 0x030D00A1
+# if PY_VERSION_HEX >= 0x030D00A1
590
// Workaround for https://github.com/python/cpython/issues/115776
591
type->tp_flags &= ~Py_TPFLAGS_INLINE_VALUES;
592
-#endif
+# endif
593
#endif
594
type->tp_traverse = pybind11_traverse;
595
type->tp_clear = pybind11_clear;
0 commit comments