Exemplo n.º 1
0
def _make_list(itemty, allocated=0):
    return listobject._as_meminfo(
        listobject.new_list(itemty, allocated=allocated))
Exemplo n.º 2
0
 def boxer():
     l = listobject.new_list(int32)
     for i in range(10, 20):
         l.append(i)
     return listobject._as_meminfo(l)
Exemplo n.º 3
0
def _make_list(itemty):
    return listobject._as_meminfo(listobject.new_list(itemty))