mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Merge with 3.2.
This commit is contained in:
commit
d60b74cb66
1 changed files with 0 additions and 1 deletions
|
|
@ -847,7 +847,6 @@ xmlparse_ParseFile(xmlparseobject *self, PyObject *f)
|
|||
|
||||
readmethod = PyObject_GetAttrString(f, "read");
|
||||
if (readmethod == NULL) {
|
||||
PyErr_Clear();
|
||||
PyErr_SetString(PyExc_TypeError,
|
||||
"argument must have 'read' attribute");
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue