diff options
Diffstat (limited to 'Objects/typeobject.c')
-rw-r--r-- | Objects/typeobject.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 51a7adf..d374a8e 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -2699,15 +2699,6 @@ _PyObject_LookupSpecialMethod(PyObject *self, PyObject *attr, PyObject **self_or return res; } -PyObject * -_PyObject_LookupSpecialId(PyObject *self, _Py_Identifier *attrid) -{ - PyObject *attr = _PyUnicode_FromId(attrid); /* borrowed */ - if (attr == NULL) - return NULL; - return _PyObject_LookupSpecial(self, attr); -} - static PyObject * lookup_maybe_method(PyObject *self, PyObject *attr, int *unbound) { @@ -5490,16 +5481,6 @@ _PyType_Lookup(PyTypeObject *type, PyObject *name) return res; } -PyObject * -_PyType_LookupId(PyTypeObject *type, _Py_Identifier *name) -{ - PyObject *oname; - oname = _PyUnicode_FromId(name); /* borrowed */ - if (oname == NULL) - return NULL; - return _PyType_Lookup(type, oname); -} - static void set_flags(PyTypeObject *self, unsigned long mask, unsigned long flags) { |