(Merge 3.3) parser: fix usage of Py_BuildValue() to build a parser error
Fix typo: "os" format => "Os"
This commit is contained in:
commit
f4c68db162
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue