Skip to content

Commit 86d808e

Browse files
gh-90092: Fix :meth: reference target in whatsnew
The bare window.use reference could not resolve in whatsnew (no currentmodule), causing a docs CI warning; qualify it to curses.window.use while keeping window.use() as the displayed text. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent fd73570 commit 86d808e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/whatsnew/3.16.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ curses
9393
the new functions :func:`curses.newterm`, :func:`curses.set_term`
9494
and :func:`curses.new_prescr`,
9595
the corresponding :ref:`screen <curses-screen-objects>` object,
96-
and the :meth:`window.use` method.
96+
and the :meth:`window.use() <curses.window.use>` method.
9797
(Contributed by Serhiy Storchaka in :gh:`90092`.)
9898

9999
* The :mod:`curses` character-cell window methods now accept a full character
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Add support for multiple terminals to the :mod:`curses` module: the new
22
functions :func:`curses.newterm`, :func:`curses.set_term` and
33
:func:`curses.new_prescr`, the corresponding :ref:`screen
4-
<curses-screen-objects>` object, and the :meth:`window.use` method.
4+
<curses-screen-objects>` object, and the :meth:`curses.window.use` method.

0 commit comments

Comments
 (0)