summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/2.7.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-12-03 17:39:26 (GMT)
committerGitHub <noreply@github.com>2023-12-03 17:39:26 (GMT)
commit5608112fa92fc1f49924601bd5cc5a24b411f36e (patch)
tree96c9937d35211496fca7bda900ccbd4eeefecfb1 /Doc/whatsnew/2.7.rst
parentee3ef7f196ac530268e8d3b9d42c0dd6c2192aa6 (diff)
downloadcpython-5608112fa92fc1f49924601bd5cc5a24b411f36e.zip
cpython-5608112fa92fc1f49924601bd5cc5a24b411f36e.tar.gz
cpython-5608112fa92fc1f49924601bd5cc5a24b411f36e.tar.bz2
[3.12] gh-101100: Fix most Sphinx nitpicks in `inspect.rst` (GH-112662) (#112666)
gh-101100: Fix most Sphinx nitpicks in `inspect.rst` (GH-112662) (cherry picked from commit 45650d1c479a8b0370f126d821718dd3c502f333) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Doc/whatsnew/2.7.rst')
-rw-r--r--Doc/whatsnew/2.7.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst
index 6c0d31c..92de3e4 100644
--- a/Doc/whatsnew/2.7.rst
+++ b/Doc/whatsnew/2.7.rst
@@ -860,7 +860,8 @@ Some smaller changes made to the core Python language are:
* When using ``@classmethod`` and ``@staticmethod`` to wrap
methods as class or static methods, the wrapper object now
- exposes the wrapped function as their :attr:`__func__` attribute.
+ exposes the wrapped function as their :ref:`__func__ <instance-methods>`
+ attribute.
(Contributed by Amaury Forgeot d'Arc, after a suggestion by
George Sakkis; :issue:`5982`.)