Home
last modified time | relevance | path

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

/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.py16 from UserList import UserList
64 l = UserList([b'1', b'2'])
77 l = UserList([1,2,3])
Dtest_richcmp.py227 from UserList import UserList
228 a = UserList()
229 b = UserList()
Dtest_bisect.py4 from UserList import UserList
137 self.assertEqual(func(UserList(data), elem), expected)
237 for insorted in (list(), UserList()):
Dtest_string.py5 from UserList import UserList
36 self.checkequal('z', UserList(['z']), 'join', 'a')
Dtest_file2k.py19 from UserList import UserList
69 l = UserList(['1', '2'])
82 l = UserList([1,2,3])
Dtest_fileio.py12 from UserList import UserList
84 l = UserList([b'123', b'456'])
Dtest_weakref.py4 import UserList
191 L = UserList.UserList()
205 L2 = UserList.UserList(L)
209 L3 = UserList.UserList(range(10))
Dstring_tests.py7 from UserList import UserList
1095 self.checkequal('z', 'a', 'join', UserList(['z']))
Dtest_inspect.py8 from UserList import UserList
Dtest_builtin.py221 from UserList import UserList
222 c = UserList(); c.append(c)
Dtest_io.py38 from UserList import UserList
1256 l = UserList([b'ab', b'cd', b'ef'])
2481 l = UserList(['ab', 'cd', 'ef'])
/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/libmojo/third_party/jinja2/
Dsandbox.py56 from UserList import UserList
58 _mutable_set_types += (UserList,)
/external/python/cpython2/Doc/whatsnew/
D2.2.rst56 them. The :mod:`UserList` module provides a class that supports all of the
58 that expects a regular Python list and won't accept a :class:`~UserList.UserList`
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp503 typedef SmallVector<ExternalUser, 16> UserList; typedef in llvm::slpvectorizer::BoUpSLP
553 UserList ExternalUses;
/external/python/cpython2/Misc/
Dcheatsheet868 classes. But can "wrap" them, see UserDict & UserList modules,
2007 UserList A wrapper to allow subclassing of built-in list class.
DHISTORY3950 changes were made to UserList.index(). SF feature request 754014.
8671 - UserList: now implements __contains__().
10017 Test suite for UserList.
10019 * Lib/UserList.py: Use isinstance() where appropriate.
10797 - The UserList module/class now supports the extend() method, like
10996 - UserList.py: In __getslice__, use self.__class__ instead of
10997 UserList.
14808 - UserList module now supports + and * operators.
DNEWS9368 xml.dom.minidom.NamedNodeMap, numbers.Number, UserList.UserList)