Searched refs:initlist (Results 1 – 4 of 4) sorted by relevance
6 def __init__(self, initlist=None): argument8 if initlist is not None:10 if type(initlist) == type(self.data):11 self.data[:] = initlist12 elif isinstance(initlist, UserList):13 self.data[:] = initlist.data[:]15 self.data = list(initlist)
1133 def __init__(self, initlist=None): argument1135 if initlist is not None:1137 if type(initlist) == type(self.data):1138 self.data[:] = initlist1139 elif isinstance(initlist, UserList):1140 self.data[:] = initlist.data[:]1142 self.data = list(initlist)
522 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]