 raised for illegal
                indexes to allow proper detection of the end of the
                sequence.</span>
          </dd>
        </dl>
        <dl>
          <dt>
            <b><a name="l2h-130"><tt class=
            "method">__setitem__</tt></a></b>(<var>self, key, value</var>)
          </dt>
          <dd>
            Called to implement assignment to
            <code><var>self</var>[<var>key</var>]</code>. Same note as for
            <tt class="method">__getitem__()</tt>. This should