Home
last modified time | relevance | path

Searched refs:initlist (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/
DUserList.py6 def __init__(self, initlist=None): argument
8 if initlist is not None:
10 if type(initlist) == type(self.data):
11 self.data[:] = initlist
12 elif isinstance(initlist, UserList):
13 self.data[:] = initlist.data[:]
15 self.data = list(initlist)
/external/python/cpython3/Lib/collections/
D__init__.py1064 def __init__(self, initlist=None): argument
1066 if initlist is not None:
1068 if type(initlist) == type(self.data):
1069 self.data[:] = initlist
1070 elif isinstance(initlist, UserList):
1071 self.data[:] = initlist.data[:]
1073 self.data = list(initlist)
/external/clang/test/
Dcxx-sections.data522 18.9 [support.initlist]
523 18.9.1 [support.initlist.cons]
524 18.9.2 [support.initlist.access]
525 18.9.3 [support.initlist.concept]