Esempio n. 1
0
 def STORE_SUBSCR(self, oparg):
     "obj[subscr] = newvalue"
     w_subscr = self.popvalue()
     w_obj = self.popvalue()
     w_newvalue = self.popvalue()
     op.setitem(w_obj, w_subscr, w_newvalue).eval(self)
Esempio n. 2
0
 def STORE_SUBSCR(self, oparg):
     "obj[subscr] = newvalue"
     w_subscr = self.popvalue()
     w_obj = self.popvalue()
     w_newvalue = self.popvalue()
     op.setitem(w_obj, w_subscr, w_newvalue).eval(self)
Esempio n. 3
0
 def STORE_MAP(self, oparg):
     w_key = self.popvalue()
     w_value = self.popvalue()
     w_dict = self.peekvalue()
     op.setitem(w_dict, w_key, w_value).eval(self)
Esempio n. 4
0
 def STORE_MAP(self, oparg):
     w_key = self.popvalue()
     w_value = self.popvalue()
     w_dict = self.peekvalue()
     op.setitem(w_dict, w_key, w_value).eval(self)