summaryrefslogtreecommitdiffstats
path: root/Doc/library/curses.rst
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2012-05-21 11:35:03 (GMT)
committerHynek Schlawack <hs@ox.cx>2012-05-21 11:35:03 (GMT)
commit87d8200978e519dabb9ef0d1d982c17b6bf9fba9 (patch)
tree7c57be670f55b29c9af6b336b3ea7fd1bd8e56ff /Doc/library/curses.rst
parent44f7cf0b2f48a4d2073382423e1b15f0d76f2551 (diff)
parentdfa465243c94b540099c413eb79b2774b40bb82e (diff)
downloadcpython-87d8200978e519dabb9ef0d1d982c17b6bf9fba9.zip
cpython-87d8200978e519dabb9ef0d1d982c17b6bf9fba9.tar.gz
cpython-87d8200978e519dabb9ef0d1d982c17b6bf9fba9.tar.bz2
#14804: Remove [] around optional arguments with default values
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.