(Merge 3.3) parser: fix usage of Py_BuildValue() to build a parser error

Fix typo: "os" format => "Os"
This commit is contained in:
Victor Stinner 2014-01-02 11:50:10 +01:00
commit f4c68db162
1 changed files with 1 additions and 1 deletions

View File

@ -785,7 +785,7 @@ build_node_children(PyObject *tuple, node *root, int *line_num)
}
}
if (!ok) {
PyObject *err = Py_BuildValue("os", elem,
PyObject *err = Py_BuildValue("Os", elem,
"Illegal node construct.");
PyErr_SetObject(parser_error, err);
Py_XDECREF(err);