@@ -290,8 +290,8 @@ The module :mod:`curses` defines the following functions:
290
290
291
291
.. function :: initscr()
292
292
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.
295
295
296
296
.. note ::
297
297
@@ -383,8 +383,8 @@ The module :mod:`curses` defines the following functions:
383
383
.. function :: newwin(nlines, ncols)
384
384
newwin(nlines, ncols, begin_y, begin_x)
385
385
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 *.
388
388
389
389
By default, the window will extend from the specified position to the lower
390
390
right corner of the screen.
@@ -1684,10 +1684,10 @@ You can instantiate a :class:`Textbox` object as follows:
1684
1684
.. class :: Textbox(win)
1685
1685
1686
1686
Return a textbox widget object. The *win * argument should be a curses
1687
- :class: ` WindowObject ` in which the textbox is to be contained. The edit cursor
1688
- of the textbox is initially located at the upper left hand corner of the
1689
- containing window, with coordinates ``(0, 0) ``. The instance's
1690
- :attr: `stripspaces ` flag is initially on.
1687
+ :ref: ` window < curses-window-objects >` object in which the textbox is to
1688
+ be contained. The edit cursor of the textbox is initially located at the
1689
+ upper left hand corner of the containing window, with coordinates ``(0, 0) ``.
1690
+ The instance's :attr: `stripspaces ` flag is initially on.
1691
1691
1692
1692
:class: `Textbox ` objects have the following methods:
1693
1693
0 commit comments