summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-01-02 10:50:10 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-01-02 10:50:10 (GMT)
commitf4c68db162faddffbb30d67758c9448f22441880 (patch)
tree9cf8e6431840c14194a9507e618a9261792f9cc3 /Modules
parent84d3256c9d28a4adacbfe83a38ee85b20fbd52a2 (diff)
parent5f8d48598263ea24a046fd8539fe33e43f96fb15 (diff)
downloadcpython-f4c68db162faddffbb30d67758c9448f22441880.zip
cpython-f4c68db162faddffbb30d67758c9448f22441880.tar.gz
cpython-f4c68db162faddffbb30d67758c9448f22441880.tar.bz2
(Merge 3.3) 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 537a2e9..36e9893 100644
--- a/Modules/parsermodule.c
+++ b/Modules/parsermodule.c
@@ -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);