From 2cf9abee934a350551dd26ec45ed65e123a6b008 Mon Sep 17 00:00:00 2001 From: Alex Samuel Date: Tue, 8 Feb 2022 22:56:20 -0500 Subject: [PATCH] set_scrolling() takes positional args. --- python/notcurses/plane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/notcurses/plane.c b/python/notcurses/plane.c index 7e1c5f592..7eeaa81ae 100644 --- a/python/notcurses/plane.c +++ b/python/notcurses/plane.c @@ -1675,7 +1675,7 @@ static PyMethodDef NcPlane_methods[] = { {"translate", (void *)NcPlane_translate, METH_VARARGS | METH_KEYWORDS, PyDoc_STR("provided a coordinate relative to the origin of 'src', map it to the same absolute coordinate relative to the origin of 'dst'.")}, {"translate_abs", (PyCFunction)NcPlane_translate_abs, METH_VARARGS, PyDoc_STR("Fed absolute 'y'/'x' coordinates, determine whether that coordinate is within the ncplane.")}, - {"set_scrolling", (PyCFunction)NcPlane_set_scrolling, METH_NOARGS, PyDoc_STR("All planes are created with scrolling disabled. Returns true if scrolling was previously enabled, or false if it was disabled.")}, + {"set_scrolling", (PyCFunction)NcPlane_set_scrolling, METH_VARARGS, PyDoc_STR("All planes are created with scrolling disabled. Returns true if scrolling was previously enabled, or false if it was disabled.")}, {"resize", (void *)NcPlane_resize, METH_VARARGS | METH_KEYWORDS, PyDoc_STR("Resize the specified ncplane.")}, {"resize_simple", (PyCFunction)NcPlane_resize_simple, METH_VARARGS, PyDoc_STR("Resize the plane, retaining what data we can (everything, unless we're shrinking in some dimension). Keep the origin where it is.")},