@@ -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.
@@ -1679,10 +1679,10 @@ You can instantiate a :class:`Textbox` object as follows:
1679
1679
.. class :: Textbox(win)
1680
1680
1681
1681
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.
1686
1686
1687
1687
:class: `Textbox ` objects have the following methods:
1688
1688
0 commit comments