@@ -290,8 +290,8 @@ The module :mod:`curses` defines the following functions:
290290
291291.. function :: initscr()
292292
293- Initialize the library. Return a :class: ` WindowObject ` which represents the
294- whole screen.
293+ Initialize the library. Return a :ref: ` window < curses-window-objects >` object
294+ which represents the whole screen.
295295
296296 .. note ::
297297
@@ -383,8 +383,8 @@ The module :mod:`curses` defines the following functions:
383383.. function :: newwin(nlines, ncols)
384384 newwin(nlines, ncols, begin_y, begin_x)
385385
386- Return a new window, whose left-upper corner is at `` (begin_y, begin_x) ``, and
387- whose height/width is *nlines */*ncols *.
386+ Return a new :ref: ` window < curses-window-objects >` , whose left-upper corner
387+ is at `` (begin_y, begin_x) ``, and whose height/width is *nlines */*ncols *.
388388
389389 By default, the window will extend from the specified position to the lower
390390 right corner of the screen.
@@ -1679,10 +1679,10 @@ You can instantiate a :class:`Textbox` object as follows:
16791679.. class :: Textbox(win)
16801680
16811681 Return a textbox widget object. The *win * argument should be a curses
1682- :class: ` WindowObject ` in which the textbox is to be contained. The edit cursor
1683- of the textbox is initially located at the upper left hand corner of the
1684- containing window, with coordinates ``(0, 0) ``. The instance's
1685- :attr: `stripspaces ` flag is initially on.
1682+ :ref: ` window < curses-window-objects >` object in which the textbox is to
1683+ be contained. The edit cursor of the textbox is initially located at the
1684+ upper left hand corner of the containing window, with coordinates ``(0, 0) ``.
1685+ The instance's :attr: `stripspaces ` flag is initially on.
16861686
16871687 :class: `Textbox ` objects have the following methods:
16881688
0 commit comments