Searched refs:UserList (Results 1 – 23 of 23) sorted by relevance
3 from collections import UserList8 type2test = UserList22 u = UserList(l)27 u = UserList("spam")32 u = UserList("eggs")35 u2 = u.__radd__(UserList("spam"))41 u += UserList([0, 1])
14 from collections import UserList63 l = UserList([b'1', b'2'])76 l = UserList([1,2,3])
226 from collections import UserList227 a = UserList()228 b = UserList()
4 from collections import UserList119 self.assertEqual(func(UserList(data), elem), expected)271 for insorted in (list(), UserList()):
7 defaultdict, deque, OrderedDict, Counter, UserDict, UserList56 OrderedDict, Counter, UserDict, UserList,
15 from collections import UserList135 l = UserList([b'123', b'456'])
1185 d = collections.UserList()1188 d = collections.UserList(zip(words, itertools.count()))
7 from collections import UserList1244 self.checkequal('z', 'a', 'join', UserList(['z']))
240 L = collections.UserList()253 L2 = collections.UserList(L)257 L3 = collections.UserList(range(10))
67 class S1(collections.UserList, collections.abc.Mapping):69 class S2(C, collections.UserList, collections.abc.Mapping):73 class S4(collections.UserList, dict, C):
18 from collections import UserDict, UserString, UserList59 self._superset_test(UserList, list)65 obj = UserList()
38 from collections import deque, UserList1780 l = UserList([b'ab', b'cd', b'ef'])3172 l = UserList(['ab', 'cd', 'ef'])
2819 (collections.UserList(), 'UserList', 'UserList'),
68 from UserList import UserList70 _mutable_set_types += (UserList,)
62 from UserList import UserList65 _mutable_set_types += (UserList,)
1174 class UserList(_collections_abc.MutableSequence): class1183 elif isinstance(initlist, UserList):1207 return other.data if isinstance(other, UserList) else other1228 if isinstance(other, UserList):1235 if isinstance(other, UserList):1242 if isinstance(other, UserList):1297 if isinstance(other, UserList):
32 :class:`UserList` wrapper around list objects for easier list subclassing1299 :class:`UserList` objects1311 .. 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
543 _dispatch[_collections.UserList.__repr__] = _pprint_user_list
332 Correct return type for UserList slicing operations. Patch by Michael1573 Added a ``__copy__()`` to ``collections.UserList`` and
56 them. The :mod:`UserList` module provides a class that supports all of the58 that expects a regular Python list and won't accept a :class:`UserList`
1725 using UserList = SmallVector<ExternalUser, 16>; typedef in llvm::slpvectorizer::BoUpSLP1775 UserList ExternalUses;
16762 ``UserList`` and ``UserString``.17046 UserString and UserList to the collections module. The21334 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, like28375 - UserList.py: In __getslice__, use self.__class__ instead of28376 UserList.32187 - UserList module now supports + and * operators.