Searched refs:readmethod (Results 1 – 2 of 2) 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()