Searched refs:readmethod (Results 1 – 1 of 1) sorted by relevance
824 PyObject *readmethod = NULL; in pyexpat_xmlparser_ParseFile_impl() local829 if (_PyObject_LookupAttrId(file, &PyId_read, &readmethod) < 0) { in pyexpat_xmlparser_ParseFile_impl()832 if (readmethod == NULL) { in pyexpat_xmlparser_ParseFile_impl()841 Py_XDECREF(readmethod); in pyexpat_xmlparser_ParseFile_impl()845 bytes_read = readinst(buf, BUF_SIZE, readmethod); in pyexpat_xmlparser_ParseFile_impl()847 Py_DECREF(readmethod); in pyexpat_xmlparser_ParseFile_impl()852 Py_XDECREF(readmethod); in pyexpat_xmlparser_ParseFile_impl()859 Py_XDECREF(readmethod); in pyexpat_xmlparser_ParseFile_impl()