This commit is contained in:
Eli Bendersky 2013-05-04 17:45:15 -07:00
parent 286c812369
commit 939f5b14ff
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ at program-writing time). ``Enum`` allows such access::
>>> Color(1) >>> Color(1)
<Color.red: 1> <Color.red: 1>
>>> Color(3) >>> Color(3)
<Colro.blue: 3> <Color.blue: 3>
If you want to access enum members by *name*, use item access:: If you want to access enum members by *name*, use item access::