summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2014-02-23 15:13:31 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2014-02-23 15:13:31 (GMT)
commit32f30a8d9b84009910ae541f8ac23bfa9b64af6a (patch)
treecbb315a368eaa37471d9fb5c3ad46fcc8a774b7c /Doc/library
parenta9daee3eb0db9abaffda4586229dd7db801aabad (diff)
downloadcpython-32f30a8d9b84009910ae541f8ac23bfa9b64af6a.zip
cpython-32f30a8d9b84009910ae541f8ac23bfa9b64af6a.tar.gz
cpython-32f30a8d9b84009910ae541f8ac23bfa9b64af6a.tar.bz2
#20677: fix typo in enum docs. Patch by Saimadhav Heblikar.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/enum.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index bce4966..b5fc4b6 100644
--- a/Doc/library/enum.rst
+++ b/Doc/library/enum.rst
@@ -139,7 +139,7 @@ If you want to access enum members by *name*, use item access::
>>> Color['green']
<Color.green: 2>
-If have an enum member and need its :attr:`name` or :attr:`value`::
+If you have an enum member and need its :attr:`name` or :attr:`value`::
>>> member = Color.red
>>> member.name