File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1857,9 +1857,9 @@ PyDoc_STRVAR(_curses_window_getstr__doc__,
18571857static PyObject *
18581858PyCursesWindow_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__,
20472047static PyObject *
20482048PyCursesWindow_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
You can’t perform that action at this time.
0 commit comments