mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Merge in all documentation changes since branching 3.4.0rc1.
This commit is contained in:
parent
b6b6a6d587
commit
3732ed2414
93 changed files with 2018 additions and 556 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue