Python: Add ht_token
diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx
index a71fc3c..3070a94 100644
--- a/Source/Modules/python.cxx
+++ b/Source/Modules/python.cxx
@@ -4374,6 +4374,11 @@
     Printv(f, "#if PY_VERSION_HEX >= 0x030b0000\n", NIL);
     printSlot(f, getSlot(n, "feature:python:_ht_tpname"), "_ht_tpname", "char *");
 
+    // void *ht_token;
+    Printv(f, "#if PY_VERSION_HEX >= 0x030e0000\n", NIL);
+    printSlot(f, getSlot(n, "feature:python:ht_token"), "ht_token", "void *");
+    Printv(f, "#endif\n", NIL);
+
     // struct _specialization_cache _spec_cache;
     Printf(f, "  {\n");
     printSlot(f, getSlot(n, "feature:python:getitem"), "getitem", "PyObject *");
OSZAR »