diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-01-23 12:30:35 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-01-23 12:30:35 +0200 |
commit | c0f01d9eb22ed81c49d8c9fbfd49b6d4c4020310 (patch) | |
tree | 0cd6281ec236943f3b1831af10b05ba694d6a790 /Modules/clinic/_cursesmodule.c.h | |
parent | 33a6e5e5b5f5b6f6e08b83e2a1136c9b4285d5cc (diff) | |
parent | 06100f2d9d19f6d7eb5440aa1edff598d24a2775 (diff) | |
download | cpython-c0f01d9eb22ed81c49d8c9fbfd49b6d4c4020310.tar.gz |
Issue #26729: Fixed __text_signature__ for sorted().
Patch by Erik Welch.
Diffstat (limited to 'Modules/clinic/_cursesmodule.c.h')
-rw-r--r-- | Modules/clinic/_cursesmodule.c.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Modules/clinic/_cursesmodule.c.h b/Modules/clinic/_cursesmodule.c.h index 5e11742499..62ff1c8ae1 100644 --- a/Modules/clinic/_cursesmodule.c.h +++ b/Modules/clinic/_cursesmodule.c.h @@ -40,22 +40,26 @@ curses_window_addch(PyCursesWindowObject *self, PyObject *args) switch (PyTuple_GET_SIZE(args)) { case 1: - if (!PyArg_ParseTuple(args, "O:addch", &ch)) + if (!PyArg_ParseTuple(args, "O:addch", &ch)) { goto exit; + } break; case 2: - if (!PyArg_ParseTuple(args, "Ol:addch", &ch, &attr)) + if (!PyArg_ParseTuple(args, "Ol:addch", &ch, &attr)) { goto exit; + } group_right_1 = 1; break; case 3: - if (!PyArg_ParseTuple(args, "iiO:addch", &y, &x, &ch)) + if (!PyArg_ParseTuple(args, "iiO:addch", &y, &x, &ch)) { goto exit; + } group_left_1 = 1; break; case 4: - if (!PyArg_ParseTuple(args, "iiOl:addch", &y, &x, &ch, &attr)) + if (!PyArg_ParseTuple(args, "iiOl:addch", &y, &x, &ch, &attr)) { goto exit; + } group_right_1 = 1; group_left_1 = 1; break; @@ -68,4 +72,4 @@ curses_window_addch(PyCursesWindowObject *self, PyObject *args) exit: return return_value; } -/*[clinic end generated code: output=982b1e709577f3ec input=a9049054013a1b77]*/ +/*[clinic end generated code: output=13ffc5f8d79cbfbf input=a9049054013a1b77]*/ |