summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-07-22 16:54:50 (GMT)
committerGitHub <noreply@github.com>2023-07-22 16:54:50 (GMT)
commit26e08dfdd7ac1b3d567d30cd35e4898121580390 (patch)
treec7d6a0bcef333968cc1e0a81224cda3493847152 /Doc/whatsnew
parent6fbc717214210e06313a283b2f3ec8ce67209609 (diff)
downloadcpython-26e08dfdd7ac1b3d567d30cd35e4898121580390.zip
cpython-26e08dfdd7ac1b3d567d30cd35e4898121580390.tar.gz
cpython-26e08dfdd7ac1b3d567d30cd35e4898121580390.tar.bz2
gh-107008: Document the curses module variables LINES and COLS (GH-107011)
LINES and COLS referred in curses.update_lines_cols() documentations are the module variables, not the environment variables.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.5.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst
index 262e4ed..66610fa 100644
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -1045,8 +1045,8 @@ not just sequences. (Contributed by Serhiy Storchaka in :issue:`23171`.)
curses
------
-The new :func:`~curses.update_lines_cols` function updates the :envvar:`LINES`
-and :envvar:`COLS` environment variables. This is useful for detecting
+The new :func:`~curses.update_lines_cols` function updates the :data:`LINES`
+and :data:`COLS` module variables. This is useful for detecting
manual screen resizing. (Contributed by Arnon Yaari in :issue:`4254`.)