mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-120686: remove unused internal c api functions (#120687)
This commit is contained in:
parent
12af8ec864
commit
6f7acaab50
7 changed files with 0 additions and 54 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue