summaryrefslogtreecommitdiffstats
path: root/Doc/library/enum.rst
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2014-03-20 15:01:48 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2014-03-20 15:01:48 (GMT)
commitdbd1c43e524b63107fa2149a2664ac73287111e7 (patch)
tree40b6b824e43bf460a0f3822bf957e22dfcfa4a81 /Doc/library/enum.rst
parent253deed8620d910420d35d28f669d4481dcd2a58 (diff)
downloadcpython-dbd1c43e524b63107fa2149a2664ac73287111e7.zip
cpython-dbd1c43e524b63107fa2149a2664ac73287111e7.tar.gz
cpython-dbd1c43e524b63107fa2149a2664ac73287111e7.tar.bz2
Fix spelling in enum docs.
"equivalant" was caught by Tobias Käs on docs@, "seperated" and "chartruese" were discovered by a spell-checker.
Diffstat (limited to 'Doc/library/enum.rst')
-rw-r--r--Doc/library/enum.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index fc7267b..acdcf7f 100644
--- a/Doc/library/enum.rst
+++ b/Doc/library/enum.rst
@@ -442,7 +442,7 @@ The complete signature is::
:value: What the new Enum class will record as its name.
-:names: The Enum members. This can be a whitespace or comma seperated string
+:names: The Enum members. This can be a whitespace or comma separated string
(values will start at 1)::
'red green blue' | 'red,green,blue' | 'red, green, blue'
@@ -453,7 +453,7 @@ The complete signature is::
or a mapping::
- {'chartruese': 7, 'sea_green': 11, 'rosemary': 42}
+ {'chartreuse': 7, 'sea_green': 11, 'rosemary': 42}
:module: name of module where new Enum class can be found.
@@ -543,7 +543,7 @@ Some rules:
add methods and don't specify another data type such as :class:`int` or
:class:`str`.
3. When another data type is mixed in, the :attr:`value` attribute is *not the
- same* as the enum member itself, although it is equivalant and will compare
+ same* as the enum member itself, although it is equivalent and will compare
equal.
4. %-style formatting: `%s` and `%r` call :class:`Enum`'s :meth:`__str__` and
:meth:`__repr__` respectively; other codes (such as `%i` or `%h` for