예제 #1
0
 def newtuple(self, list_w):
     from pypy.objspace.std.tupleobject import wraptuple
     assert isinstance(list_w, list)
     make_sure_not_resized(list_w)
     return wraptuple(self, list_w)
예제 #2
0
 def newtuple(self, list_w):
     from pypy.objspace.std.tupleobject import wraptuple
     assert isinstance(list_w, list)
     make_sure_not_resized(list_w)
     return wraptuple(self, list_w)