Skip to content

Commit f4c68db

Browse files
committed
(Merge 3.3) parser: fix usage of Py_BuildValue() to build a parser error
Fix typo: "os" format => "Os"
2 parents 84d3256 + 5f8d485 commit f4c68db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Modules/parsermodule.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ build_node_children(PyObject *tuple, node *root, int *line_num)
785785
}
786786
}
787787
if (!ok) {
788-
PyObject *err = Py_BuildValue("os", elem,
788+
PyObject *err = Py_BuildValue("Os", elem,
789789
"Illegal node construct.");
790790
PyErr_SetObject(parser_error, err);
791791
Py_XDECREF(err);

0 commit comments

Comments
 (0)