summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-04-05 13:50:24 (GMT)
committerGitHub <noreply@github.com>2021-04-05 13:50:24 (GMT)
commitb1dc1aacf8b0f319024a1a3ce91d395956537c11 (patch)
treed37c2b41f5fd1af45f9e27d66114c7f6b133fe21 /Doc
parentc8e5eb904e12010d2302364e1037c24a30f5e241 (diff)
downloadcpython-b1dc1aacf8b0f319024a1a3ce91d395956537c11.zip
cpython-b1dc1aacf8b0f319024a1a3ce91d395956537c11.tar.gz
cpython-b1dc1aacf8b0f319024a1a3ce91d395956537c11.tar.bz2
bpo-43084: Return bool instead of int from curses.window.enclose() (GH-24398)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/curses.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst
index f55bb03..efbece4 100644
--- a/Doc/library/curses.rst
+++ b/Doc/library/curses.rst
@@ -915,6 +915,9 @@ the following methods and attributes:
determining what subset of the screen windows enclose the location of a mouse
event.
+ .. versionchanged:: 3.10
+ Previously it returned ``1`` or ``0`` instead of ``True`` or ``False``.
+
.. attribute:: window.encoding