/span><code><a id="__codelineno-3-1" name="__codelineno-3-1" href="#__codelineno-3-1"></a><span class="k">def</span> <span class="fm">__getitem__</span><span class="p">(</span><span class="n">key</span><span class="p">):</span>
</code></pre></div>
<p>Implements getting elements given an index from the MgList.</p>
<h4 id="arguments_2">Arguments<a class="headerlink" href="#arguments_2" title="Permanent link">&para;</a></h4>
<ul>
<li><code>key</code> <em>int</em> - The index of the element to retrieve.</li>
</