Searched refs:dirfunc (Results 1 – 2 of 2) sorted by relevance
818 PyObject *dirfunc = _PyDict_GetItemIdWithError(dict, &PyId___dir__); in module_dir() local819 if (dirfunc) { in module_dir()820 result = _PyObject_CallNoArg(dirfunc); in module_dir()
1517 PyObject *dirfunc = _PyObject_LookupSpecial(obj, &PyId___dir__); in _dir_object() local1520 if (dirfunc == NULL) { in _dir_object()1526 result = _PyObject_CallNoArg(dirfunc); in _dir_object()1527 Py_DECREF(dirfunc); in _dir_object()