diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-01-02 10:50:10 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-01-02 10:50:10 (GMT) |
commit | f4c68db162faddffbb30d67758c9448f22441880 (patch) | |
tree | 9cf8e6431840c14194a9507e618a9261792f9cc3 /Modules | |
parent | 84d3256c9d28a4adacbfe83a38ee85b20fbd52a2 (diff) | |
parent | 5f8d48598263ea24a046fd8539fe33e43f96fb15 (diff) | |
download | cpython-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.c | 2 |
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); |