mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
parser: fix usage of Py_BuildValue() to build a parser error
Fix typo: "os" format => "Os"
This commit is contained in:
parent
cb0613b860
commit
5f8d485982
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue