Home
last modified time | relevance | path

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

12

/external/python/cpython2/Lib/test/
Dtest_userlist.py3 from UserList import UserList
7 type2test = UserList
20 u = UserList("spam")
25 u = UserList("eggs")
28 u2 = u.__radd__(UserList("spam"))
34 u += UserList([0, 1])
Dtest_file.py17 from UserList import UserList
65 l = UserList([b'1', b'2'])
78 l = UserList([1,2,3])
Dtest_richcmp.py227 from UserList import UserList
228 a = UserList()
229 b = UserList()
Dtest_bisect.py5 from UserList import UserList
138 self.assertEqual(func(UserList(data), elem), expected)
238 for insorted in (list(), UserList()):
Dtest_string.py5 from UserList import UserList
36 self.checkequal('z', UserList(['z']), 'join', 'a')
Dtest_fileio.py12 from UserList import UserList
84 l = UserList([b'123', b'456'])
Dtest_weakref.py4 import UserList
218 L = UserList.UserList()
232 L2 = UserList.UserList(L)
236 L3 = UserList.UserList(range(10))
Dtest_file2k.py19 from UserList import UserList
69 l = UserList(['1', '2'])
82 l = UserList([1,2,3])
Dstring_tests.py7 from UserList import UserList
1095 self.checkequal('z', 'a', 'join', UserList(['z']))
Dtest_inspect.py9 from UserList import UserList
/external/python/cpython3/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.py12 from collections import UserList
60 l = UserList([b'1', b'2'])
73 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
118 self.assertEqual(func(UserList(data), elem), expected)
213 for insorted in (list(), UserList()):
Dtest_genericalias.py6 defaultdict, deque, OrderedDict, Counter, UserDict, UserList
55 OrderedDict, Counter, UserDict, UserList,
Dtest_fileio.py14 from collections import UserList
133 l = UserList([b'123', b'456'])
Dtest_pprint.py1031 d = collections.UserList()
1034 d = collections.UserList(zip(words, itertools.count()))
/external/python/cpython2/Lib/
DUserList.py5 class UserList(collections.MutableSequence): class
12 elif isinstance(initlist, UserList):
24 if isinstance(other, UserList): return other.data
39 if isinstance(other, UserList):
49 if isinstance(other, UserList):
56 if isinstance(other, UserList):
63 if isinstance(other, UserList):
85 if isinstance(other, UserList):
/external/python/cpython2/Doc/library/
Duserdict.rst80 :mod:`UserList` --- Class wrapper for list objects
83 .. module:: UserList
99 from :class:`~UserList.UserList` and :class:`str` at the same time. That would not be
107 The :mod:`UserList` module defines the :class:`~UserList.UserList` class:
110 .. class:: UserList([list])
113 list, which is accessible via the :attr:`data` attribute of :class:`~UserList.UserList`
116 real Python list or a :class:`~UserList.UserList` object.
119 The :class:`~UserList.UserList` class has been moved to the :mod:`collections`
125 section :ref:`typesseq`), :class:`~UserList.UserList` instances provide the following
129 .. attribute:: UserList.data
[all …]
/external/libchrome/third_party/jinja2/
Dsandbox.py68 from UserList import UserList
70 _mutable_set_types += (UserList,)
/external/python/cpython3/Lib/collections/
D__init__.py1130 class UserList(_collections_abc.MutableSequence): class
1139 elif isinstance(initlist, UserList):
1163 return other.data if isinstance(other, UserList) else other
1184 if isinstance(other, UserList):
1191 if isinstance(other, UserList):
1198 if isinstance(other, UserList):
1253 if isinstance(other, UserList):
/external/python/cpython2/Misc/NEWS.d/
D2.6b3.rst172 numbers.Number, UserList.UserList)
/external/python/cpython3/Doc/library/
Dcollections.rst32 :class:`UserList` wrapper around list objects for easier list subclassing
1202 :class:`UserList` objects
1214 .. class:: UserList([list])
1217 list, which is accessible via the :attr:`data` attribute of :class:`UserList`
1220 example a real Python list or a :class:`UserList` object.
1223 :class:`UserList` instances provide the following attribute:
1228 :class:`UserList` class.
1230 **Subclassing requirements:** Subclasses of :class:`UserList` are expected to
/external/python/six/documentation/
Dindex.rst674 | ``UserList`` | :class:`py2:UserList.UserList` | :class:`py3:collections.User…
/external/fonttools/Lib/fontTools/ttLib/tables/
DotConverters.py98 from collections import UserList
100 from UserList import UserList
103 class _LazyList(UserList):

12