Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
temp remmoval
  • Loading branch information
Eclips4 committed Dec 28, 2024
commit c20c278163eb4b24f7d6ab93cc57e2016bfc7b6e
20 changes: 0 additions & 20 deletions Modules/_testinternalcapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2034,25 +2034,6 @@ gh_119213_getargs_impl(PyObject *module, PyObject *spam)
return Py_NewRef(spam);
}

/*[clinic input]
is_dict_version_overflowed

dict: object(type="PyDictObject *", subclass_of="&PyDict_Type")

[clinic start generated code]*/

static PyObject *
is_dict_version_overflowed_impl(PyObject *module, PyDictObject *dict)
/*[clinic end generated code: output=85daaa03aef739fd input=a0a9e8265cd6ae23]*/
{
PyInterpreterState *interp = _PyInterpreterState_GET();
uint32_t keys_version = _PyDictKeys_GetVersionForCurrentState(interp, dict->ma_keys);
if (keys_version != (uint16_t)keys_version){
Py_RETURN_TRUE;
}
Py_RETURN_FALSE;
}

static PyObject *
get_static_builtin_types(PyObject *self, PyObject *Py_UNUSED(ignored))
{
Expand Down Expand Up @@ -2163,7 +2144,6 @@ static PyMethodDef module_functions[] = {
GH_119213_GETARGS_METHODDEF
{"get_static_builtin_types", get_static_builtin_types, METH_NOARGS},
{"identify_type_slot_wrappers", identify_type_slot_wrappers, METH_NOARGS},
IS_DICT_VERSION_OVERFLOWED_METHODDEF
{NULL, NULL} /* sentinel */
};

Expand Down
60 changes: 1 addition & 59 deletions Modules/clinic/_testinternalcapi.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.