[Python-checkins] fix enum.property reference in docs (GH-25875) (#25876)

orsenthil webhook-mailer at python.org
Tue May 4 09:24:56 EDT 2021


https://github.com/python/cpython/commit/377f3d43aa9b76a425ce5a853065d56290379a15
commit: 377f3d43aa9b76a425ce5a853065d56290379a15
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: orsenthil <skumaran at gatech.edu>
date: 2021-05-04T06:24:46-07:00
summary:

fix enum.property reference in docs (GH-25875) (#25876)

(cherry picked from commit 6fee0835cb00677acd341751f831ca1af128f4c9)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra at gmail.com>

files:
M Doc/library/enum.rst

diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index b5f9c2f08b187..466d95941468a 100644
--- a/Doc/library/enum.rst
+++ b/Doc/library/enum.rst
@@ -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.



More information about the Python-checkins mailing list