summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-06-08 17:48:47 (GMT)
committerGitHub <noreply@github.com>2024-06-08 17:48:47 (GMT)
commitc15f94d6fbc960790db34c94d49716658ccf6348 (patch)
tree586ad6790b155e851dec749e2b9fb33e0e666b2a /Misc/NEWS.d/next/Library
parentf6689d91b2dc2a9b5f94334ff30abf56bf016ff2 (diff)
downloadcpython-c15f94d6fbc960790db34c94d49716658ccf6348.zip
cpython-c15f94d6fbc960790db34c94d49716658ccf6348.tar.gz
cpython-c15f94d6fbc960790db34c94d49716658ccf6348.tar.bz2
[3.13] bpo-37755: Use configured output in pydoc instead of pager (GH-15105) (GH-120261)
If the Helper() class was initialized with an output, the topics, keywords and symbols help still use the pager instead of the output. Change the behavior so the output is used if available while keeping the previous behavior if no output was configured. (cherry picked from commit 2080425154d235b4b7dcc9a8a2f58e71769125ca) Co-authored-by: Enrico Tröger <enrico.troeger@uvena.de>
Diffstat (limited to 'Misc/NEWS.d/next/Library')
-rw-r--r--Misc/NEWS.d/next/Library/2024-06-02-13-35-11.gh-issue-81936.ETeW9x.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-06-02-13-35-11.gh-issue-81936.ETeW9x.rst b/Misc/NEWS.d/next/Library/2024-06-02-13-35-11.gh-issue-81936.ETeW9x.rst
new file mode 100644
index 0000000..d53cc73
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-06-02-13-35-11.gh-issue-81936.ETeW9x.rst
@@ -0,0 +1,3 @@
+:meth:`!help` and :meth:`!showtopic` methods now respect a
+configured *output* argument to :class:`!pydoc.Helper` and not use the
+pager in such cases. Patch by Enrico Tröger.