Home | History | Annotate | Download | only in python2.7

Lines Matching defs:Iterable

14 __all__ = ["Hashable", "Iterable", "Iterator",
55 class Iterable:
65 if cls is Iterable:
70 Iterable.register(str)
73 class Iterator(Iterable):
139 class Set(Sized, Iterable, Container):
140 """A set is a finite, iterable container.
185 '''Construct an instance of the class from any iterable input.
188 does not accept an iterable for an input.
193 if not isinstance(other, Iterable):
205 if not isinstance(other, Iterable):
212 if not isinstance(other, Iterable):
220 if not isinstance(other, Iterable):
264 """A mutable set is a finite, iterable container.
346 class Mapping(Sized, Iterable, Container):
527 ''' D.update([E, ]**F) -> None. Update D from mapping/iterable E and F.
566 class Sequence(Sized, Iterable, Container):
649 'S.extend(iterable) -- extend sequence by appending elements from the iterable'