Home
last modified time | relevance | path

Searched refs:UserList (Results 1 – 23 of 23) sorted by relevance

/third_party/python/Lib/test/
Dtest_userlist.py3 from collections import UserList
8 type2test = UserList
22 u = UserList(l)
27 u = UserList("spam")
32 u = UserList("eggs")
35 u2 = u.__radd__(UserList("spam"))
41 u += UserList([0, 1])
Dtest_file.py14 from collections import UserList
63 l = UserList([b'1', b'2'])
76 l = UserList([1,2,3])
Dtest_richcmp.py226 from collections import UserList
227 a = UserList()
228 b = UserList()
Dtest_bisect.py4 from collections import UserList
119 self.assertEqual(func(UserList(data), elem), expected)
271 for insorted in (list(), UserList()):
Dtest_genericalias.py7 defaultdict, deque, OrderedDict, Counter, UserDict, UserList
56 OrderedDict, Counter, UserDict, UserList,
Dtest_fileio.py15 from collections import UserList
135 l = UserList([b'123', b'456'])
Dtest_pprint.py1185 d = collections.UserList()
1188 d = collections.UserList(zip(words, itertools.count()))
Dstring_tests.py7 from collections import UserList
1244 self.checkequal('z', 'a', 'join', UserList(['z']))
Dtest_weakref.py240 L = collections.UserList()
253 L2 = collections.UserList(L)
257 L3 = collections.UserList(range(10))
Dtest_patma.py67 class S1(collections.UserList, collections.abc.Mapping):
69 class S2(C, collections.UserList, collections.abc.Mapping):
73 class S4(collections.UserList, dict, C):
Dtest_collections.py18 from collections import UserDict, UserString, UserList
59 self._superset_test(UserList, list)
65 obj = UserList()
Dtest_io.py38 from collections import deque, UserList
1780 l = UserList([b'ab', b'cd', b'ef'])
3172 l = UserList(['ab', 'cd', 'ef'])
Dpickletester.py2819 (collections.UserList(), 'UserList', 'UserList'),
/third_party/node/tools/inspector_protocol/jinja2/
Dsandbox.py68 from UserList import UserList
70 _mutable_set_types += (UserList,)
/third_party/jinja2/
Dsandbox.py62 from UserList import UserList
65 _mutable_set_types += (UserList,)
/third_party/skia/third_party/externals/jinja2/
Dsandbox.py62 from UserList import UserList
65 _mutable_set_types += (UserList,)
/third_party/python/Lib/collections/
D__init__.py1174 class UserList(_collections_abc.MutableSequence): class
1183 elif isinstance(initlist, UserList):
1207 return other.data if isinstance(other, UserList) else other
1228 if isinstance(other, UserList):
1235 if isinstance(other, UserList):
1242 if isinstance(other, UserList):
1297 if isinstance(other, UserList):
/third_party/python/Doc/library/
Dcollections.rst32 :class:`UserList` wrapper around list objects for easier list subclassing
1299 :class:`UserList` objects
1311 .. class:: UserList([list])
1314 list, which is accessible via the :attr:`data` attribute of :class:`UserList`
1317 example a real Python list or a :class:`UserList` object.
1320 :class:`UserList` instances provide the following attribute:
1325 :class:`UserList` class.
1327 **Subclassing requirements:** Subclasses of :class:`UserList` are expected to
/third_party/python/Lib/
Dpprint.py543 _dispatch[_collections.UserList.__repr__] = _pprint_user_list
/third_party/python/Misc/NEWS.d/
D3.8.0b1.rst332 Correct return type for UserList slicing operations. Patch by Michael
1573 Added a ``__copy__()`` to ``collections.UserList`` and
/third_party/python/Doc/whatsnew/
D2.2.rst56 them. The :mod:`UserList` module provides a class that supports all of the
58 that expects a regular Python list and won't accept a :class:`UserList`
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp1725 using UserList = SmallVector<ExternalUser, 16>; typedef in llvm::slpvectorizer::BoUpSLP
1775 UserList ExternalUses;
/third_party/python/Misc/
DHISTORY16762 ``UserList`` and ``UserString``.
17046 UserString and UserList to the collections module. The
21334 changes were made to UserList.index(). SF feature request 754014.
26050 - UserList: now implements __contains__().
27396 Test suite for UserList.
27398 * Lib/UserList.py: Use isinstance() where appropriate.
28176 - The UserList module/class now supports the extend() method, like
28375 - UserList.py: In __getslice__, use self.__class__ instead of
28376 UserList.
32187 - UserList module now supports + and * operators.