| 10594 | /* PyObjectGetAttrStr */ |
| 10595 | #if CYTHON_USE_TYPE_SLOTS |
| 10596 | static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name) { |
| 10597 | PyTypeObject* tp = Py_TYPE(obj); |
| 10598 | if (likely(tp->tp_getattro)) |
| 10599 | return tp->tp_getattro(obj, attr_name); |
| 10600 | #if PY_MAJOR_VERSION < 3 |
| 10601 | if (likely(tp->tp_getattr)) |
| 10602 | return tp->tp_getattr(obj, PyString_AS_STRING(attr_name)); |
| 10603 | #endif |
| 10604 | return PyObject_GetAttr(obj, attr_name); |
| 10605 | } |
| 10606 | #endif |
| 10607 | |
| 10608 | /* GetBuiltinName */ |
no outgoing calls
no test coverage detected