Searched refs:MutableSequence (Results 1 – 24 of 24) sorted by relevance
/external/libchrome/third_party/jinja2/ |
D | sandbox.py | 82 from collections import MutableSet, MutableMapping, MutableSequence 85 _mutable_sequence_types += (MutableSequence,)
|
/external/python/cpython2/Lib/test/ |
D | test_collections.py | 20 from collections import Sequence, MutableSequence 838 self.assertNotIsInstance(sample(), MutableSequence) 839 self.assertFalse(issubclass(sample, MutableSequence)) 841 self.assertIsInstance(sample(), MutableSequence) 842 self.assertTrue(issubclass(sample, MutableSequence)) 843 self.assertFalse(issubclass(basestring, MutableSequence)) 844 self.validate_abstract_methods(MutableSequence, '__contains__', '__iter__',
|
/external/python/cpython3/Lib/ |
D | _collections_abc.py | 945 class MutableSequence(Sequence): class 1010 MutableSequence.register(list) 1011 MutableSequence.register(bytearray) # Multiply inheriting, see ByteString
|
D | typing.py | 1221 MutableSequence = _alias(collections.abc.MutableSequence, T) variable
|
/external/python/cpython2/Lib/ |
D | _abcoll.py | 640 class MutableSequence(Sequence): class 695 MutableSequence.register(list)
|
D | UserList.py | 5 class UserList(collections.MutableSequence):
|
D | UserString.py | 133 class MutableString(UserString, collections.MutableSequence):
|
/external/python/cpython3/Lib/test/ |
D | test_collections.py | 27 from collections.abc import Sequence, MutableSequence 1690 self.assertNotIsInstance(sample(), MutableSequence) 1691 self.assertFalse(issubclass(sample, MutableSequence)) 1693 self.assertIsInstance(sample(), MutableSequence) 1694 self.assertTrue(issubclass(sample, MutableSequence)) 1695 self.assertFalse(issubclass(str, MutableSequence)) 1696 self.validate_abstract_methods(MutableSequence, '__contains__', '__iter__', 1702 class MutableSequenceSubclass(MutableSequence):
|
D | test_functools.py | 1763 c.MutableSequence.register(D) 1764 bases = [c.MutableSequence, c.MutableMapping] 1767 self.assertEqual(m, [D, c.MutableSequence, c.Sequence, c.Reversible, 1818 g.register(c.MutableSequence, lambda obj: "mutablesequence") 1992 c.MutableSequence.register(R) 1999 @i.register(c.MutableSequence)
|
D | test_typing.py | 1993 self.assertIsInstance([], typing.MutableSequence) 1994 self.assertNotIsInstance((), typing.MutableSequence) 2342 class S(collections.abc.MutableSequence): ... 2343 self.assertIsSubclass(S, typing.MutableSequence)
|
/external/toolchain-utils/automation/common/ |
D | command.py | 74 class AbstractCommandContainer(collections.MutableSequence):
|
/external/python/cpython3/Doc/library/ |
D | collections.abc.rst | 55 :class:`MutableSequence` :class:`Sequence` ``__getitem__``, Inherited :class:`Sequenc… 147 MutableSequence
|
D | typing.rst | 584 .. class:: MutableSequence(Sequence[T]) 586 A generic version of :class:`collections.abc.MutableSequence`. 598 .. class:: Deque(deque, MutableSequence[T]) 604 .. class:: List(list, MutableSequence[T])
|
D | stdtypes.rst | 1026 The :class:`collections.abc.MutableSequence` ABC is provided to make it
|
/external/protobuf/python/google/protobuf/internal/ |
D | containers.py | 340 collections.MutableSequence.register(BaseContainer)
|
D | message_test.py | 559 self.assertIsInstance(m.repeated_int32, collections.MutableSequence) 561 collections.MutableSequence)
|
/external/python/cpython3/Lib/collections/ |
D | __init__.py | 34 _collections_abc.MutableSequence.register(deque) 1062 class UserList(_collections_abc.MutableSequence):
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0a3.rst | 273 copy(). This allows deques to be registered as a MutableSequence and it
|
/external/tensorflow/tensorflow/python/training/tracking/ |
D | data_structures.py | 356 class _ListWrapper(List, collections.MutableSequence,
|
/external/python/cpython2/Doc/library/ |
D | collections.rst | 911 :class:`MutableSequence` :class:`Sequence` ``__getitem__``, Inherited :class:`Sequenc… 966 MutableSequence
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.0.rst | 272 :class:`collections.MutableSequence`. 537 and :class:`collections.MutableSequence` ABCs, respectively.
|
D | 3.3.rst | 804 :class:`~collections.abc.MutableSequence` now also defines a 805 :meth:`~collections.abc.MutableSequence.clear` method (:issue:`11388`).
|
D | 3.5.rst | 917 This allows deques to be recognized as a :class:`~collections.abc.MutableSequence`
|
/external/python/cpython3/Misc/ |
D | HISTORY | 10084 - Issue #11388: Added a clear() method to MutableSequence
|