Searched refs:MutableSequence (Results 1 – 25 of 29) sorted by relevance
12
/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 | 962 class MutableSequence(Sequence): class 1030 MutableSequence.register(list) 1031 MutableSequence.register(bytearray) # Multiply inheriting, see ByteString
|
D | typing.py | 1667 MutableSequence = _alias(collections.abc.MutableSequence, 1) variable
|
/external/python/cpython2/Lib/ |
D | UserList.py | 5 class UserList(collections.MutableSequence):
|
D | _abcoll.py | 640 class MutableSequence(Sequence): class 695 MutableSequence.register(list)
|
D | UserString.py | 133 class MutableString(UserString, collections.MutableSequence):
|
/external/python/jinja/src/jinja2/ |
D | sandbox.py | 56 abc.MutableSequence,
|
/external/python/cpython3/Doc/library/ |
D | collections.abc.rst | 55 :class:`MutableSequence` :class:`Sequence` ``__getitem__``, Inherited :class:`Sequenc… 155 MutableSequence
|
D | typing.rst | 1075 .. class:: List(list, MutableSequence[T]) 1161 .. class:: Deque(deque, MutableSequence[T]) 1302 .. class:: MutableSequence(Sequence[T]) 1304 A generic version of :class:`collections.abc.MutableSequence`. 1307 :class:`collections.abc.MutableSequence` now supports ``[]``. See
|
/external/python/cpython3/Lib/test/ |
D | test_collections.py | 26 from collections.abc import Sequence, MutableSequence 1892 self.assertNotIsInstance(sample(), MutableSequence) 1893 self.assertFalse(issubclass(sample, MutableSequence)) 1895 self.assertIsInstance(sample(), MutableSequence) 1896 self.assertTrue(issubclass(sample, MutableSequence)) 1897 self.assertFalse(issubclass(str, MutableSequence)) 1898 self.validate_abstract_methods(MutableSequence, '__contains__', '__iter__', 1904 class MutableSequenceSubclass(MutableSequence):
|
D | test_functools.py | 1869 c.MutableSequence.register(D) 1870 bases = [c.MutableSequence, c.MutableMapping] 1873 self.assertEqual(m, [D, c.MutableSequence, c.Sequence, c.Reversible, 1924 g.register(c.MutableSequence, lambda obj: "mutablesequence") 2098 c.MutableSequence.register(R) 2105 @i.register(c.MutableSequence)
|
D | test_genericalias.py | 72 Sequence, MutableSequence,
|
D | test_typing.py | 3188 self.assertIsInstance([], typing.MutableSequence) 3189 self.assertNotIsInstance((), typing.MutableSequence) 3548 class S(collections.abc.MutableSequence): ... 3549 self.assertIsSubclass(S, typing.MutableSequence)
|
/external/protobuf/python/google/protobuf/internal/ |
D | containers.py | 233 collections_abc.MutableSequence.register(BaseContainer)
|
D | well_known_types.py | 849 collections_abc.MutableSequence.register(ListValue)
|
D | message_test.py | 760 self.assertIsInstance(m.repeated_int32, collections_abc.MutableSequence) 762 collections_abc.MutableSequence)
|
/external/python/cpython3/Lib/collections/ |
D | __init__.py | 47 _collections_abc.MutableSequence.register(deque) 1130 class UserList(_collections_abc.MutableSequence):
|
/external/fonttools/Lib/fontTools/colorLib/ |
D | builder.py | 443 elif isinstance(value, 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
|
D | 3.8.0b1.rst | 1707 Clarify that `copy()` is not part of the `MutableSequence` ABC.
|
/external/tensorflow/tensorflow/python/training/tracking/ |
D | data_structures.py | 432 collections_abc.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`).
|
12