Issue #22314: pydoc now works when the LINES environment variable is set.
diff --git a/Misc/NEWS b/Misc/NEWS
index d3bf2de..642ada0 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -25,6 +25,8 @@
 Tools/Demos
 -----------
 
+- Issue #22314: pydoc now works when the LINES environment variable is set.
+
 - Issue #18905: "pydoc -p 0" now outputs actually used port.  Based on patch by
   Wieland Hoffmann.