Searched refs:initlist (Results 1 – 3 of 3) 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)
1064 def __init__(self, initlist=None): argument1066 if initlist is not None:1068 if type(initlist) == type(self.data):1069 self.data[:] = initlist1070 elif isinstance(initlist, UserList):1071 self.data[:] = initlist.data[:]1073 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]