gh-120686: remove unused internal c api functions (#120687)

This commit is contained in:
Irit Katriel 2024-06-27 11:09:30 +01:00 committed by GitHub
parent 12af8ec864
commit 6f7acaab50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 0 additions and 54 deletions

View file

@ -1124,17 +1124,6 @@ _PyObject_GetAttrId(PyObject *v, _Py_Identifier *name)
return result;
}
int
_PyObject_SetAttrId(PyObject *v, _Py_Identifier *name, PyObject *w)
{
int result;
PyObject *oname = _PyUnicode_FromId(name); /* borrowed */
if (!oname)
return -1;
result = PyObject_SetAttr(v, oname, w);
return result;
}
int
_PyObject_SetAttributeErrorContext(PyObject* v, PyObject* name)
{