Home
last modified time | relevance | path

Searched refs:UserList (Results 1 – 25 of 40) 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
21 u = UserList("spam")
26 u = UserList("eggs")
29 u2 = u.__radd__(UserList("spam"))
35 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_fileio.py14 from collections import UserList
133 l = UserList([b'123', b'456'])
Dtest_pprint.py965 d = collections.UserList()
968 d = collections.UserList(zip(words, itertools.count()))
/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/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/libchrome/third_party/jinja2/
Dsandbox.py68 from UserList import UserList
70 _mutable_set_types += (UserList,)
/external/python/cpython3/Lib/collections/
D__init__.py1062 class UserList(_collections_abc.MutableSequence): class
1070 elif isinstance(initlist, UserList):
1081 return other.data if isinstance(other, UserList) else other
1088 if isinstance(other, UserList):
1094 if isinstance(other, UserList):
1100 if isinstance(other, UserList):
1124 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
1180 :class:`UserList` objects
1192 .. class:: UserList([list])
1195 list, which is accessible via the :attr:`data` attribute of :class:`UserList`
1198 example a real Python list or a :class:`UserList` object.
1201 :class:`UserList` instances provide the following attribute:
1206 :class:`UserList` class.
1208 **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.py85 from collections import UserList
87 from UserList import UserList
90 class _LazyList(UserList):
/external/python/six/
DCHANGES125 - Pull request #33: Add import mappings for UserDict and UserList.

12