Пример #1
0
 def slice(self, w_start, w_end):
     w_obj = self.popvalue()
     w_result = op.getslice(w_obj, w_start, w_end).eval(self)
     self.pushvalue(w_result)
Пример #2
0
 def slice(self, w_start, w_end):
     w_obj = self.popvalue()
     w_result = op.getslice(w_obj, w_start, w_end).eval(self)
     self.pushvalue(w_result)