]> granicus.if.org Git - python/commitdiff
Fix wrong signature for two-argument newwin(). Found by Jacqueline Leykam on docs@.
authorGeorg Brandl <georg@python.org>
Tue, 29 Oct 2013 07:10:36 +0000 (08:10 +0100)
committerGeorg Brandl <georg@python.org>
Tue, 29 Oct 2013 07:10:36 +0000 (08:10 +0100)
Doc/library/curses.rst

index cd1915d03b509420c0db69c4ed0fb428d90cdd73..314636e4b48c5edf750bc21ece9070e951fae23e 100644 (file)
@@ -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