summaryrefslogtreecommitdiffstats
path: root/Doc/library/curses.rst
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2012-05-22 14:14:56 (GMT)
committerHynek Schlawack <hs@ox.cx>2012-05-22 14:14:56 (GMT)
commitf0bf135cd14fe2abe212d2220af811b42ad75a57 (patch)
tree2a0ec8a42c1a29865d21929937df9c97d707d389 /Doc/library/curses.rst
parent161ea6a349d7b6720a19708aeceec98ae03770d1 (diff)
parent979f37afd2b7ccd77f2d43e68a1d596befa58bcd (diff)
downloadcpython-f0bf135cd14fe2abe212d2220af811b42ad75a57.zip
cpython-f0bf135cd14fe2abe212d2220af811b42ad75a57.tar.gz
cpython-f0bf135cd14fe2abe212d2220af811b42ad75a57.tar.bz2
Restore [] where default arguments are not keywords
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 2ee46f4..ff3a793 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.