Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1ed80b0

Browse files
committed
Fix wrong signature for two-argument newwin(). Found by Jacqueline Leykam on docs@.
1 parent ad32153 commit 1ed80b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/curses.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ The module :mod:`curses` defines the following functions:
377377
is to be displayed.
378378

379379

380-
.. function:: newwin(begin_y, begin_x)
380+
.. function:: newwin(nlines, ncols)
381381
newwin(nlines, ncols, begin_y, begin_x)
382382

383383
Return a new window, whose left-upper corner is at ``(begin_y, begin_x)``, and

0 commit comments

Comments
 (0)