mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
(Merge 3.3) parser: fix usage of Py_BuildValue() to build a parser error
Fix typo: "os" format => "Os"
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user