Home
last modified time | relevance | path

Searched refs:readmethod (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython2/Modules/
Dpyexpat.c965 PyObject *readmethod = NULL; in xmlparse_ParseFile() local
967 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()