Home
last modified time | relevance | path

Searched refs:dirfunc (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/
Dobject.c1916 PyObject *dirfunc; in _dir_object() local
1920 dirfunc = PyObject_GetAttrString(obj, "__dir__"); in _dir_object()
1921 if (dirfunc == NULL) { in _dir_object()
1929 dirfunc = _PyObject_LookupSpecial(obj, "__dir__", &dir_str); in _dir_object()
1933 if (dirfunc == NULL) { in _dir_object()
1944 result = PyObject_CallFunctionObjArgs(dirfunc, NULL); in _dir_object()
1945 Py_DECREF(dirfunc); in _dir_object()
/external/python/cpython3/Objects/
Dobject.c1308 PyObject *dirfunc = _PyObject_LookupSpecial(obj, &PyId___dir__); in _dir_object() local
1311 if (dirfunc == NULL) { in _dir_object()
1317 result = PyObject_CallFunctionObjArgs(dirfunc, NULL); in _dir_object()
1318 Py_DECREF(dirfunc); in _dir_object()