Skip to content

Commit 3c985f7

Browse files
committed
remove const qualifiers
1 parent 59b0a20 commit 3c985f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_cursesmodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1857,9 +1857,9 @@ PyDoc_STRVAR(_curses_window_getstr__doc__,
18571857
static PyObject *
18581858
PyCursesWindow_getstr(PyObject *op, PyObject *args)
18591859
{
1860-
const unsigned int max_buf_size = 2048;
18611860
PyCursesWindowObject *self = _PyCursesWindowObject_CAST(op);
18621861
int rtn, use_xy = 0, y = 0, x = 0;
1862+
unsigned int max_buf_size = 2048;
18631863
unsigned int n = max_buf_size - 1;
18641864
PyObject *res;
18651865

@@ -2047,9 +2047,9 @@ PyDoc_STRVAR(_curses_window_instr__doc__,
20472047
static PyObject *
20482048
PyCursesWindow_instr(PyObject *op, PyObject *args)
20492049
{
2050-
const unsigned int max_buf_size = 2048;
20512050
PyCursesWindowObject *self = _PyCursesWindowObject_CAST(op);
20522051
int rtn, use_xy = 0, y = 0, x = 0;
2052+
unsigned int max_buf_size = 2048;
20532053
unsigned int n = max_buf_size - 1;
20542054
PyObject *res;
20552055

0 commit comments

Comments
 (0)