bpo-43084: Return bool instead of int from curses.window.enclose() (GH-24398)

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 @@
    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