Searched refs:_from_iterable (Results 1 – 5 of 5) sorted by relevance
189 def _from_iterable(cls, it): member in Set200 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 self231 other = self._from_iterable(other)232 return self._from_iterable(value for value in other239 other = self._from_iterable(other)343 it = self._from_iterable(it)446 def _from_iterable(self, it): member in KeysView[all …]
482 def _from_iterable(cls, it): member in Set493 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 self524 other = self._from_iterable(other)525 return self._from_iterable(value for value in other532 other = self._from_iterable(other)636 it = self._from_iterable(it)734 def _from_iterable(self, it): member in KeysView[all …]
291 :meth:`_from_iterable` which calls ``cls(iterable)`` to produce a new set.293 constructor signature, you will need to override :meth:`_from_iterable`
1031 :meth:`_from_iterable` which calls ``cls(iterable)`` to produce a new set.1033 constructor signature, you will need to override :meth:`_from_iterable`
1586 def _from_iterable(self, values): member in TestCollectionABCs.test_Set_from_iterable.SetUsingInstanceFromIterable