summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-01-02 10:49:27 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-01-02 10:49:27 (GMT)
commit5f8d48598263ea24a046fd8539fe33e43f96fb15 (patch)
tree0a7b34d695f6048b4fdda31d466b0b31a213c581 /Modules
parentcb0613b860a59cae74443acf92e08fcf5b2d9d19 (diff)
downloadcpython-5f8d48598263ea24a046fd8539fe33e43f96fb15.zip
cpython-5f8d48598263ea24a046fd8539fe33e43f96fb15.tar.gz
cpython-5f8d48598263ea24a046fd8539fe33e43f96fb15.tar.bz2
parser: fix usage of Py_BuildValue() to build a parser error
Fix typo: "os" format => "Os"
Diffstat (limited to 'Modules')
-rw-r--r--Modules/parsermodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c
index e86fe4d..e598046 100644
--- a/Modules/parsermodule.c
+++ b/Modules/parsermodule.c
@@ -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);