Searched refs:UserList (Results 1 – 25 of 40) 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 21 u = UserList("spam") 26 u = UserList("eggs") 29 u2 = u.__radd__(UserList("spam")) 35 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_fileio.py | 14 from collections import UserList 133 l = UserList([b'123', b'456'])
|
D | test_pprint.py | 965 d = collections.UserList() 968 d = collections.UserList(zip(words, itertools.count()))
|
/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/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/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 | 1062 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/ |
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 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/ |
D | index.rst | 674 | ``UserList`` | :class:`py2:UserList.UserList` | :class:`py3:collections.User…
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | otConverters.py | 85 from collections import UserList 87 from UserList import UserList 90 class _LazyList(UserList):
|
/external/python/six/ |
D | CHANGES | 125 - Pull request #33: Add import mappings for UserDict and UserList.
|
12