diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-01-02 10:49:27 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-01-02 10:49:27 (GMT) |
commit | 5f8d48598263ea24a046fd8539fe33e43f96fb15 (patch) | |
tree | 0a7b34d695f6048b4fdda31d466b0b31a213c581 /Modules | |
parent | cb0613b860a59cae74443acf92e08fcf5b2d9d19 (diff) | |
download | cpython-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.c | 2 |
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); |