aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/clinic/marshal.c.h
diff options
context:
space:
mode:
Diffstat (limited to 'Python/clinic/marshal.c.h')
-rw-r--r--Python/clinic/marshal.c.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/Python/clinic/marshal.c.h b/Python/clinic/marshal.c.h
index d9bbb052741..6c00b2b31b0 100644
--- a/Python/clinic/marshal.c.h
+++ b/Python/clinic/marshal.c.h
@@ -44,9 +44,11 @@ marshal_dump(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject
static struct {
PyGC_Head _this_is_not_used;
PyObject_VAR_HEAD
+ Py_hash_t ob_hash;
PyObject *ob_item[NUM_KEYWORDS];
} _kwtuple = {
.ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
+ .ob_hash = -1,
.ob_item = { &_Py_ID(allow_code), },
};
#undef NUM_KEYWORDS
@@ -134,9 +136,11 @@ marshal_load(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject
static struct {
PyGC_Head _this_is_not_used;
PyObject_VAR_HEAD
+ Py_hash_t ob_hash;
PyObject *ob_item[NUM_KEYWORDS];
} _kwtuple = {
.ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
+ .ob_hash = -1,
.ob_item = { &_Py_ID(allow_code), },
};
#undef NUM_KEYWORDS
@@ -211,9 +215,11 @@ marshal_dumps(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObjec
static struct {
PyGC_Head _this_is_not_used;
PyObject_VAR_HEAD
+ Py_hash_t ob_hash;
PyObject *ob_item[NUM_KEYWORDS];
} _kwtuple = {
.ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
+ .ob_hash = -1,
.ob_item = { &_Py_ID(allow_code), },
};
#undef NUM_KEYWORDS
@@ -293,9 +299,11 @@ marshal_loads(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObjec
static struct {
PyGC_Head _this_is_not_used;
PyObject_VAR_HEAD
+ Py_hash_t ob_hash;
PyObject *ob_item[NUM_KEYWORDS];
} _kwtuple = {
.ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
+ .ob_hash = -1,
.ob_item = { &_Py_ID(allow_code), },
};
#undef NUM_KEYWORDS
@@ -343,4 +351,4 @@ exit:
return return_value;
}
-/*[clinic end generated code: output=c7ef4f599658d8ab input=a9049054013a1b77]*/
+/*[clinic end generated code: output=3e4bfc070a3c78ac input=a9049054013a1b77]*/