summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMeer Suri <46469858+meersuri@users.noreply.github.com>2022-02-12 04:21:38 (GMT)
committerGitHub <noreply@github.com>2022-02-12 04:21:38 (GMT)
commit9d9cfd61ec3cbe84dbc25c74f664877f3d02b8ef (patch)
tree52c5ba792abffd988c7ef2a6b7aab53ff4152a79 /Doc
parentba5725171d9c411fc4764349205eff5cfc028797 (diff)
downloadcpython-9d9cfd61ec3cbe84dbc25c74f664877f3d02b8ef.zip
cpython-9d9cfd61ec3cbe84dbc25c74f664877f3d02b8ef.tar.gz
cpython-9d9cfd61ec3cbe84dbc25c74f664877f3d02b8ef.tar.bz2
bpo-46586: Fix documentation links (GH-31216)
* Fix enum.property documentation link
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/enum.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index 672e256..52ef009 100644
--- a/Doc/library/enum.rst
+++ b/Doc/library/enum.rst
@@ -110,7 +110,7 @@ Module Contents
:class:`StrEnum` defaults to the lower-cased version of the member name,
while other Enums default to 1 and increase from there.
- :func:`property`
+ :func:`~enum.property`
Allows :class:`Enum` members to have attributes without conflicting with
member names.