Lines Matching refs:fileobj
525 PyObject *fileobj;
532 (fileobj = PyDict_GetItemWithError(d, &_Py_ID(__file__))) == NULL ||
533 !PyUnicode_Check(fileobj))
540 Py_INCREF(fileobj);
541 return fileobj;
547 PyObject *fileobj;
549 fileobj = PyModule_GetFilenameObject(m);
550 if (fileobj == NULL)
552 utf8 = PyUnicode_AsUTF8(fileobj);
553 Py_DECREF(fileobj); /* module dict has still a reference */