<li><strong>If there are no numeric values before auto(), it returns 1.</strong></li>
<li><strong>Otherwise it returns an increment of the last numeric value.</strong></li>
<li><strong>Accessing a member named after a reserved keyword causes SyntaxError.</strong></li>
</ul>
<pre><codeclass="python language-python hljs"><member> = <enum>.<member_name><spanclass="hljs-comment"># Returns a member.</span>
<member> = <enum>[<spanclass="hljs-string">'<member_name>'</span>] <spanclass="hljs-comment"># Returns a member or raises KeyError.</span>