Skip to content

bpo-30376: Update outdated WindowObject references #1630

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Doc/library/curses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ The module :mod:`curses` defines the following functions:

.. function:: initscr()

Initialize the library. Return a :class:`WindowObject` which represents the
whole screen.
Initialize the library. Return a :ref:`window <curses-window-objects>` object
which represents the whole screen.

.. note::

Expand Down Expand Up @@ -383,8 +383,8 @@ The module :mod:`curses` defines the following functions:
.. 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
whose height/width is *nlines*/*ncols*.
Return a new :ref:`window <curses-window-objects>`, whose left-upper corner
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
right corner of the screen.
Expand Down Expand Up @@ -1684,10 +1684,10 @@ You can instantiate a :class:`Textbox` object as follows:
.. class:: Textbox(win)

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
of the textbox is initially located at the upper left hand corner of the
containing window, with coordinates ``(0, 0)``. The instance's
:attr:`stripspaces` flag is initially on.
:ref:`window <curses-window-objects>` object in which the textbox is to
be contained. The edit cursor of the textbox is initially located at the
upper left hand corner of the containing window, with coordinates ``(0, 0)``.
The instance's :attr:`stripspaces` flag is initially on.

:class:`Textbox` objects have the following methods:

Expand Down