Kaydet (Commit) 5f8d4859 authored tarafından Victor Stinner's avatar Victor Stinner

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

Fix typo: "os" format => "Os"
üst cb0613b8
......@@ -748,7 +748,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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment