3 [ @ s d Z dZddlmZ G dd deZG dd deZG dd d eZG d d deZG dd d eZG dd deZ G dd dee Z dS )zySequence Interfaces Importing this module does *not* mark any standard classes as implementing any of these interfaces. Zrestructuredtext ) Interfacec @ s e Zd ZdZdd ZdS )IMinimalSequencea Most basic sequence interface. All sequences are iterable. This requires at least one of the following: - a `__getitem__()` method that takes a single argument; integer values starting at 0 must be supported, and `IndexError` should be raised for the first index for which there is no value, or - an `__iter__()` method that returns an iterator as defined in the Python documentation (http://docs.python.org/lib/typeiter.html). c C s dS )z``x.__getitem__(index) <==> x[index]`` Declaring this interface does not specify whether `__getitem__` supports slice objects.N )indexr r /usr/lib64/python3.6/sequence.py__getitem__&