mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Revert backwards-incompatible const changes.
This commit is contained in:
parent
f9f61b4aa2
commit
15e62742fa
36 changed files with 71 additions and 70 deletions
|
@ -1886,7 +1886,7 @@ PyCurses_setupterm(PyObject* self, PyObject *args, PyObject* keywds)
|
|||
int err;
|
||||
char* termstr = NULL;
|
||||
|
||||
static const char *kwlist[] = {"term", "fd", NULL};
|
||||
static char *kwlist[] = {"term", "fd", NULL};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(
|
||||
args, keywds, "|zi:setupterm", kwlist, &termstr, &fd)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue