summaryrefslogtreecommitdiffstats
path: root/Doc/library/curses.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/curses.rst')
-rw-r--r--Doc/library/curses.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst
index ff3a793..2ee46f4 100644
--- a/Doc/library/curses.rst
+++ b/Doc/library/curses.rst
@@ -1120,7 +1120,7 @@ the following methods and attributes:
rendition (as set by :meth:`bkgdset`) merged into them.
-.. method:: window.scroll([lines=1])
+.. method:: window.scroll(lines=1)
Scroll the screen or scrolling region upward by *lines* lines.