summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2024-10-09 05:03:53 (GMT)
committerGitHub <noreply@github.com>2024-10-09 05:03:53 (GMT)
commit78406382c97207b985b5c1d24db244ec398b7e3f (patch)
tree73fe961cf1ae5c751a462c5685ce97fa787378e8 /Misc
parentb502573f7f800dbb2e401fa2a7a05eceac692c7a (diff)
downloadcpython-78406382c97207b985b5c1d24db244ec398b7e3f.zip
cpython-78406382c97207b985b5c1d24db244ec398b7e3f.tar.gz
cpython-78406382c97207b985b5c1d24db244ec398b7e3f.tar.bz2
gh-101552: Allow pydoc to display signatures in source format (#124669)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2024-09-27-06-39-32.gh-issue-101552.xYkzag.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-09-27-06-39-32.gh-issue-101552.xYkzag.rst b/Misc/NEWS.d/next/Library/2024-09-27-06-39-32.gh-issue-101552.xYkzag.rst
new file mode 100644
index 0000000..913a84d
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-09-27-06-39-32.gh-issue-101552.xYkzag.rst
@@ -0,0 +1,4 @@
+Add an *annoation_format* parameter to :func:`inspect.signature`. Add an
+*quote_annotation_strings* parameter to :meth:`inspect.Signature.format`. Use the
+new functionality to improve the display of annotations in signatures in
+:mod:`pydoc`. Patch by Jelle Zijlstra.