Home
last modified time | relevance | path

Searched refs:MutableSequence (Results 1 – 25 of 29) sorted by relevance

12

/external/libchrome/third_party/jinja2/
Dsandbox.py82 from collections import MutableSet, MutableMapping, MutableSequence
85 _mutable_sequence_types += (MutableSequence,)
/external/python/cpython2/Lib/test/
Dtest_collections.py20 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.py962 class MutableSequence(Sequence): class
1030 MutableSequence.register(list)
1031 MutableSequence.register(bytearray) # Multiply inheriting, see ByteString
Dtyping.py1667 MutableSequence = _alias(collections.abc.MutableSequence, 1) variable
/external/python/cpython2/Lib/
DUserList.py5 class UserList(collections.MutableSequence):
D_abcoll.py640 class MutableSequence(Sequence): class
695 MutableSequence.register(list)
DUserString.py133 class MutableString(UserString, collections.MutableSequence):
/external/python/jinja/src/jinja2/
Dsandbox.py56 abc.MutableSequence,
/external/python/cpython3/Doc/library/
Dcollections.abc.rst55 :class:`MutableSequence` :class:`Sequence` ``__getitem__``, Inherited :class:`Sequenc…
155 MutableSequence
Dtyping.rst1075 .. 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/
Dtest_collections.py26 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):
Dtest_functools.py1869 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)
Dtest_genericalias.py72 Sequence, MutableSequence,
Dtest_typing.py3188 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/
Dcontainers.py233 collections_abc.MutableSequence.register(BaseContainer)
Dwell_known_types.py849 collections_abc.MutableSequence.register(ListValue)
Dmessage_test.py760 self.assertIsInstance(m.repeated_int32, collections_abc.MutableSequence)
762 collections_abc.MutableSequence)
/external/python/cpython3/Lib/collections/
D__init__.py47 _collections_abc.MutableSequence.register(deque)
1130 class UserList(_collections_abc.MutableSequence):
/external/fonttools/Lib/fontTools/colorLib/
Dbuilder.py443 elif isinstance(value, collections.abc.MutableSequence):
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a3.rst273 copy(). This allows deques to be registered as a MutableSequence and it
D3.8.0b1.rst1707 Clarify that `copy()` is not part of the `MutableSequence` ABC.
/external/tensorflow/tensorflow/python/training/tracking/
Ddata_structures.py432 collections_abc.MutableSequence,
/external/python/cpython2/Doc/library/
Dcollections.rst911 :class:`MutableSequence` :class:`Sequence` ``__getitem__``, Inherited :class:`Sequenc…
966 MutableSequence
/external/python/cpython3/Doc/whatsnew/
D3.0.rst272 :class:`collections.MutableSequence`.
537 and :class:`collections.MutableSequence` ABCs, respectively.
D3.3.rst804 :class:`~collections.abc.MutableSequence` now also defines a
805 :meth:`~collections.abc.MutableSequence.clear` method (:issue:`11388`).

12