Commit 93fc20b7 authored by Berker Peksag's avatar Berker Peksag Committed by Kushal Das

bpo-30376: Update outdated WindowObject references (#1630)

parent f82c951d
...@@ -290,8 +290,8 @@ The module :mod:`curses` defines the following functions: ...@@ -290,8 +290,8 @@ The module :mod:`curses` defines the following functions:
.. function:: initscr() .. function:: initscr()
Initialize the library. Return a :class:`WindowObject` which represents the Initialize the library. Return a :ref:`window <curses-window-objects>` object
whole screen. which represents the whole screen.
.. note:: .. note::
...@@ -383,8 +383,8 @@ The module :mod:`curses` defines the following functions: ...@@ -383,8 +383,8 @@ The module :mod:`curses` defines the following functions:
.. function:: newwin(nlines, ncols) .. function:: newwin(nlines, ncols)
newwin(nlines, ncols, begin_y, begin_x) newwin(nlines, ncols, begin_y, begin_x)
Return a new window, whose left-upper corner is at ``(begin_y, begin_x)``, and Return a new :ref:`window <curses-window-objects>`, whose left-upper corner
whose height/width is *nlines*/*ncols*. is at ``(begin_y, begin_x)``, and whose height/width is *nlines*/*ncols*.
By default, the window will extend from the specified position to the lower By default, the window will extend from the specified position to the lower
right corner of the screen. right corner of the screen.
...@@ -1684,10 +1684,10 @@ You can instantiate a :class:`Textbox` object as follows: ...@@ -1684,10 +1684,10 @@ You can instantiate a :class:`Textbox` object as follows:
.. class:: Textbox(win) .. class:: Textbox(win)
Return a textbox widget object. The *win* argument should be a curses Return a textbox widget object. The *win* argument should be a curses
:class:`WindowObject` in which the textbox is to be contained. The edit cursor :ref:`window <curses-window-objects>` object in which the textbox is to
of the textbox is initially located at the upper left hand corner of the be contained. The edit cursor of the textbox is initially located at the
containing window, with coordinates ``(0, 0)``. The instance's upper left hand corner of the containing window, with coordinates ``(0, 0)``.
:attr:`stripspaces` flag is initially on. The instance's :attr:`stripspaces` flag is initially on.
:class:`Textbox` objects have the following methods: :class:`Textbox` objects have the following methods:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment