Lines Matching full:__getitem__
39 def __getitem__(self, index): ... # Required abstract method
62 def __getitem__(self, index): ... # Abstract method
80 using ``__getitem__`` and ``__len__``.
103 example, knowing that a class supplies ``__getitem__``, ``__len__``, and
135 :class:`Sequence` :class:`Reversible`, ``__getitem__``, ``__contains__``, ``_…
138 :class:`MutableSequence` :class:`Sequence` ``__getitem__``, Inherited :class:`Seq…
144 :class:`ByteString` :class:`Sequence` ``__getitem__``, Inherited :class:`Seq…
157 :class:`Mapping` :class:`Collection` ``__getitem__``, ``__contains__``, ``k…
161 :class:`MutableMapping` :class:`Mapping` ``__getitem__``, Inherited :class:`Map…
195 :meth:`~object.__getitem__` method. The only reliable way to determine
229 not detect classes that iterate with the :meth:`~object.__getitem__` method.
272 repeated calls to the underlying :meth:`~object.__getitem__` method.
273 Consequently, if :meth:`~object.__getitem__` is implemented with constant