summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-29 07:10:36 (GMT)
committerGeorg Brandl <georg@python.org>2013-10-29 07:10:36 (GMT)
commit1ed80b09ed3f808980b827aac85497ee0fd3d3c8 (patch)
tree5b9b4ff00b45a65f7268f5715ef21df3c29e045e
parentad3215362c60fdff0865e443a6d9946a3e9d3879 (diff)
downloadcpython-1ed80b09ed3f808980b827aac85497ee0fd3d3c8.zip
cpython-1ed80b09ed3f808980b827aac85497ee0fd3d3c8.tar.gz
cpython-1ed80b09ed3f808980b827aac85497ee0fd3d3c8.tar.bz2
Fix wrong signature for two-argument newwin(). Found by Jacqueline Leykam on docs@.
-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 cd1915d..314636e 100644
--- a/Doc/library/curses.rst
+++ b/Doc/library/curses.rst
@@ -377,7 +377,7 @@ The module :mod:`curses` defines the following functions:
is to be displayed.
-.. function:: newwin(begin_y, begin_x)
+.. function:: newwin(nlines, ncols)
newwin(nlines, ncols, begin_y, begin_x)
Return a new window, whose left-upper corner is at ``(begin_y, begin_x)``, and