def __init__(self, space, strategy, dictimplementation): IteratorImplementation.__init__(self, space, strategy, dictimplementation) keys, values_w = strategy.unerase(self.dictimplementation.dstorage) self.iterator = iter(range(len(keys))) # XXX this potentially leaks self.keys = keys self.values_w = values_w
def __init__(self, space, strategy, dictimplementation): IteratorImplementation.__init__(self, space, strategy, dictimplementation) keys, values_w = strategy.unerase(self.dictimplementation.dstorage) self.iterator = iter(range(len(keys))) # XXX this potentially leaks self.keys = keys self.values_w = values_w
def __init__(self, space, strategy, dictimplementation): IteratorImplementation.__init__(self, space, dictimplementation) dict_w = strategy.unerase(dictimplementation.dstorage) self.iterator = dict_w.iteritems()
def __init__(self, space, strategy, dictimplementation): IteratorImplementation.__init__( self, space, strategy, dictimplementation) w_obj = strategy.unerase(dictimplementation.dstorage) self.w_obj = w_obj self.orig_map = self.curr_map = w_obj._get_mapdict_map()
def __init__(self, space, strategy, dictimplementation): IteratorImplementation.__init__(self, space, dictimplementation) w_type = strategy.unerase(dictimplementation.dstorage) self.iterator = w_type.dict_w.iteritems()
def __init__(self, space, dictimplementation): IteratorImplementation.__init__(self, space, dictimplementation) self.iterator = dictimplementation.structure.keys.iteritems()
def __init__(self, space, dictimplementation): IteratorImplementation.__init__(self, space, dictimplementation) self.values = dictimplementation.entries
def __init__(self, space, dictimplementation): IteratorImplementation.__init__(self, space, dictimplementation) self.index = 0 self.node = None
def __init__(self, space, dictimplementation): IteratorImplementation.__init__(self, space, dictimplementation) self.iterator = dictimplementation.content.iteritems()
def __init__(self, space, dictimplementation): IteratorImplementation.__init__(self, space, dictimplementation) self.iterator = dictimplementation.w_type.dict_w.iteritems()
def __init__(self, space, strategy, dictimplementation): IteratorImplementation.__init__(self, space, strategy, dictimplementation) w_obj = strategy.unerase(dictimplementation.dstorage) self.w_obj = w_obj self.orig_map = self.curr_map = w_obj._get_mapdict_map()
def __init__(self, space, dictimpl, itemlist): IteratorImplementation.__init__(self, space, dictimpl) self.itemlist = itemlist
def __init__(self, space, dictimplementation): IteratorImplementation.__init__(self, space, dictimplementation) self.iterator = dictimplementation.content.iteritems()
def __init__(self, space, dictimpl, itemlist): IteratorImplementation.__init__(self, space, dictimpl) self.itemlist = itemlist