Home
last modified time | relevance | path

Searched refs:_from_iterable (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/
D_abcoll.py189 def _from_iterable(cls, it): member in Set
200 return self._from_iterable(value for value in other if value in self)
215 return self._from_iterable(chain)
223 other = self._from_iterable(other)
224 return self._from_iterable(value for value in self
231 other = self._from_iterable(other)
232 return self._from_iterable(value for value in other
239 other = self._from_iterable(other)
343 it = self._from_iterable(it)
446 def _from_iterable(self, it): member in KeysView
[all …]
/external/python/cpython3/Lib/
D_collections_abc.py482 def _from_iterable(cls, it): member in Set
493 return self._from_iterable(value for value in other if value in self)
508 return self._from_iterable(chain)
516 other = self._from_iterable(other)
517 return self._from_iterable(value for value in self
524 other = self._from_iterable(other)
525 return self._from_iterable(value for value in other
532 other = self._from_iterable(other)
636 it = self._from_iterable(it)
734 def _from_iterable(self, it): member in KeysView
[all …]
/external/python/cpython3/Doc/library/
Dcollections.abc.rst291 :meth:`_from_iterable` which calls ``cls(iterable)`` to produce a new set.
293 constructor signature, you will need to override :meth:`_from_iterable`
/external/python/cpython2/Doc/library/
Dcollections.rst1031 :meth:`_from_iterable` which calls ``cls(iterable)`` to produce a new set.
1033 constructor signature, you will need to override :meth:`_from_iterable`
/external/python/cpython3/Lib/test/
Dtest_collections.py1586 def _from_iterable(self, values): member in TestCollectionABCs.test_Set_from_iterable.SetUsingInstanceFromIterable