Searched refs:readmethod (Results 1 – 1 of 1) sorted by relevance
965 PyObject *readmethod = NULL; in xmlparse_ParseFile() local967 readmethod = PyObject_GetAttrString(f, "read"); in xmlparse_ParseFile()968 if (readmethod == NULL) { in xmlparse_ParseFile()978 Py_XDECREF(readmethod); in xmlparse_ParseFile()982 bytes_read = readinst(buf, BUF_SIZE, readmethod); in xmlparse_ParseFile()984 Py_XDECREF(readmethod); in xmlparse_ParseFile()990 Py_XDECREF(readmethod); in xmlparse_ParseFile()997 Py_XDECREF(readmethod); in xmlparse_ParseFile()