diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-05-30 04:04:50 +0000 |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-05-30 04:04:50 +0000 |
commit | 3397d7292b66cf5bd87167aad7bbce170c1e5a28 (patch) | |
tree | b14dfaa4884986d7d5b673717bb7f366ea6f5d92 /Doc/library/enum.rst | |
parent | 2d5c35630b8f136a6788744b2a59585ae2088de9 (diff) | |
download | cpython-3397d7292b66cf5bd87167aad7bbce170c1e5a28.tar.gz |
Issue #27125: Remove duplicated words from documentation and comments
Diffstat (limited to 'Doc/library/enum.rst')
-rw-r--r-- | Doc/library/enum.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst index 8a02a55ed2..60467b4acb 100644 --- a/Doc/library/enum.rst +++ b/Doc/library/enum.rst @@ -314,8 +314,8 @@ Then:: >>> str(Mood.funky) 'my custom str! 1' -The rules for what is allowed are as follows: names that start and end with a -with a single underscore are reserved by enum and cannot be used; all other +The rules for what is allowed are as follows: names that start and end with +a single underscore are reserved by enum and cannot be used; all other attributes defined within an enumeration will become members of this enumeration, with the exception of special methods (:meth:`__str__`, :meth:`__add__`, etc.) and descriptors (methods are also descriptors). |