Searched refs:UserList (Results 1 – 25 of 43) sorted by relevance
12
/external/python/cpython2/Lib/test/ |
D | test_userlist.py | 3 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])
|
D | test_file.py | 17 from UserList import UserList 65 l = UserList([b'1', b'2']) 78 l = UserList([1,2,3])
|
D | test_richcmp.py | 227 from UserList import UserList 228 a = UserList() 229 b = UserList()
|
D | test_bisect.py | 5 from UserList import UserList 138 self.assertEqual(func(UserList(data), elem), expected) 238 for insorted in (list(), UserList()):
|
D | test_string.py | 5 from UserList import UserList 36 self.checkequal('z', UserList(['z']), 'join', 'a')
|
D | test_fileio.py | 12 from UserList import UserList 84 l = UserList([b'123', b'456'])
|
D | test_weakref.py | 4 import UserList 218 L = UserList.UserList() 232 L2 = UserList.UserList(L) 236 L3 = UserList.UserList(range(10))
|
D | test_file2k.py | 19 from UserList import UserList 69 l = UserList(['1', '2']) 82 l = UserList([1,2,3])
|
D | string_tests.py | 7 from UserList import UserList 1095 self.checkequal('z', 'a', 'join', UserList(['z']))
|
D | test_inspect.py | 9 from UserList import UserList
|
/external/python/cpython3/Lib/test/ |
D | test_userlist.py | 3 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])
|
D | test_file.py | 12 from collections import UserList 60 l = UserList([b'1', b'2']) 73 l = UserList([1,2,3])
|
D | test_richcmp.py | 226 from collections import UserList 227 a = UserList() 228 b = UserList()
|
D | test_bisect.py | 4 from collections import UserList 118 self.assertEqual(func(UserList(data), elem), expected) 213 for insorted in (list(), UserList()):
|
D | test_genericalias.py | 6 defaultdict, deque, OrderedDict, Counter, UserDict, UserList 55 OrderedDict, Counter, UserDict, UserList,
|
D | test_fileio.py | 14 from collections import UserList 133 l = UserList([b'123', b'456'])
|
D | test_pprint.py | 1031 d = collections.UserList() 1034 d = collections.UserList(zip(words, itertools.count()))
|
/external/python/cpython2/Lib/ |
D | UserList.py | 5 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/ |
D | userdict.rst | 80 :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/ |
D | sandbox.py | 68 from UserList import UserList 70 _mutable_set_types += (UserList,)
|
/external/python/cpython3/Lib/collections/ |
D | __init__.py | 1130 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/ |
D | 2.6b3.rst | 172 numbers.Number, UserList.UserList)
|
/external/python/cpython3/Doc/library/ |
D | collections.rst | 32 :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/ |
D | index.rst | 674 | ``UserList`` | :class:`py2:UserList.UserList` | :class:`py3:collections.User…
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | otConverters.py | 98 from collections import UserList 100 from UserList import UserList 103 class _LazyList(UserList):
|
12