Lines Matching refs:iterable
209 def fromkeys(cls, iterable, value=None): argument
215 for key in iterable:
522 def fromkeys(cls, iterable, v=None): argument
555 iterable = args[0] if args else None
556 if iterable is not None:
557 if isinstance(iterable, Mapping):
560 for elem, count in iterable.iteritems():
563 super(Counter, self).update(iterable) # fast path when counter is empty
566 for elem in iterable:
594 iterable = args[0] if args else None
595 if iterable is not None:
597 if isinstance(iterable, Mapping):
598 for elem, count in iterable.items():
601 for elem in iterable: