ok
Direktori : /lib64/python3.6/site-packages/zope/interface/common/__pycache__/ |
Current File : //lib64/python3.6/site-packages/zope/interface/common/__pycache__/sequence.cpython-36.pyc |
3 ��[� � @ s� d Z dZddlmZ G dd� de�ZG dd� de�ZG dd � d e�ZG d d� de�ZG dd � d e�ZG dd� de�Z 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__&