]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix enum.property reference in docs (GH-25875) (#25876)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 4 May 2021 13:24:46 +0000 (06:24 -0700)
committerGitHub <noreply@github.com>
Tue, 4 May 2021 13:24:46 +0000 (06:24 -0700)
(cherry picked from commit 6fee0835cb00677acd341751f831ca1af128f4c9)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Doc/library/enum.rst

index b5f9c2f08b1873e202d6bcceca4d5a1c082a413d..466d95941468afed45a54ebd857f1d5166e8f544 100644 (file)
@@ -108,7 +108,7 @@ Module Contents
       :class:`Enum` class decorator to apply the appropriate global `__repr__`,
       and export its members into the global name space.
 
-   :func:`property`
+   :func:`.property`
 
       Allows :class:`Enum` members to have attributes without conflicting with
       other members' names.