summaryrefslogtreecommitdiffstats
path: root/Doc/library/enum.rst
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-05-30 04:04:50 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-05-30 04:04:50 (GMT)
commita90a4a96517fe25b57246083076b247f417d737d (patch)
treeeb3cd314fea55c06d6edf6b62a93b702c97bb8e3 /Doc/library/enum.rst
parentf45d27bcc316c3af4fb2924d1dfa8da493e9941f (diff)
downloadcpython-a90a4a96517fe25b57246083076b247f417d737d.zip
cpython-a90a4a96517fe25b57246083076b247f417d737d.tar.gz
cpython-a90a4a96517fe25b57246083076b247f417d737d.tar.bz2
Issue #27125: Remove duplicated words from documentation and comments
Diffstat (limited to 'Doc/library/enum.rst')
-rw-r--r--Doc/library/enum.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index 8a02a55..60467b4 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).