Home
last modified time | relevance | path

Searched refs:MutableSet (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython3/Doc/library/
Dcollections.abc.rst68 :class:`MutableSet` :class:`Set` ``__contains__``, Inherited :class:`Set` me…
166 MutableSet
276 Notes on using :class:`Set` and :class:`MutableSet` as a mixin:
304 example built on :class:`MutableSet`.
Dtyping.rst564 .. class:: MutableSet(AbstractSet[T])
566 A generic version of :class:`collections.abc.MutableSet`.
621 .. class:: Set(set, MutableSet[T])
/external/python/cpython2/Lib/test/
Dtest_collections.py18 from collections import Set, MutableSet
492 class WithSet(MutableSet):
548 self.assertIsInstance(set(), MutableSet)
549 self.assertTrue(issubclass(set, MutableSet))
550 self.assertNotIsInstance(frozenset(), MutableSet)
551 self.assertFalse(issubclass(frozenset, MutableSet))
552 self.validate_abstract_methods(MutableSet, '__contains__', '__iter__', '__len__',
563 class MySet(MutableSet):
/external/libchrome/third_party/jinja2/
Dsandbox.py82 from collections import MutableSet, MutableMapping, MutableSequence
83 _mutable_set_types += (MutableSet,)
/external/python/cpython3/Lib/test/
Dtest_collections.py25 from collections.abc import Set, MutableSet
893 self.assertTrue(issubclass(MutableSet, Collection), repr(MutableSet))
894 self.assertTrue(issubclass(Sequence, Collection), repr(MutableSet))
1205 class WithSet(MutableSet):
1314 self.assertIsInstance(set(), MutableSet)
1315 self.assertTrue(issubclass(set, MutableSet))
1316 self.assertNotIsInstance(frozenset(), MutableSet)
1317 self.assertFalse(issubclass(frozenset, MutableSet))
1318 self.validate_abstract_methods(MutableSet, '__contains__', '__iter__', '__len__',
1329 class MySet(MutableSet):
Dtest_functools.py1824 g.register(c.MutableSet, lambda obj: "mutableset")
2134 c.MutableSet.register(X) # Will invalidate the cache.
Dtest_typing.py1977 self.assertIsInstance(set(), typing.MutableSet)
1978 self.assertNotIsInstance(frozenset(), typing.MutableSet)
/external/tensorflow/tensorflow/python/training/tracking/
Dobject_identity.py112 class ObjectIdentitySet(collections.MutableSet):
/external/python/cpython2/Lib/
D_abcoll.py282 class MutableSet(Set): class
359 MutableSet.register(set)
/external/toolchain-utils/automation/clients/helper/
Dperforce.py81 class View(collections.MutableSet):
/external/python/cpython3/Lib/
D_collections_abc.py556 class MutableSet(Set): class
635 MutableSet.register(set)
Dtyping.py1216 MutableSet = _alias(collections.abc.MutableSet, T) variable
/external/python/cpython2/Doc/library/
Dcollections.rst921 :class:`MutableSet` :class:`Set` ``__contains__``, Inherited :class:`Set` me…
971 MutableSet
1024 Notes on using :class:`Set` and :class:`MutableSet` as a mixin:
1052 example built on :class:`MutableSet`.
/external/python/cpython2/Misc/NEWS.d/
D2.7.1rc1.rst685 Fixed MutableSet's methods to correctly handle reflexive operations, namely
D2.7a1.rst3361 MutableSet.__iand__() no longer mutates self during iteration.
3999 Fixed .next() vs .__next__() issues in the ABCs for Iterator and MutableSet.
/external/python/cpython3/Misc/
DHISTORY12456 - Issue #8750: Fixed MutableSet's methods to correctly handle reflexive
15149 - Issue #5647: MutableSet.__iand__() no longer mutates self during iteration.