Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
2 additions
and
0 deletions.
-
+2
−0
topaz/objects/arrayobject.py
|
|
@@ -1,5 +1,6 @@ |
|
|
import copy |
|
|
|
|
|
from rpython.rlib import jit |
|
|
from rpython.rlib.listsort import make_timsort_class |
|
|
|
|
|
from topaz.coerce import Coerce |
|
@@ -333,6 +334,7 @@ def method_rotate_i(self, space, n=1): |
|
|
|
|
|
@classdef.method("insert", i="int") |
|
|
@check_frozen() |
|
|
@jit.look_inside_iff(lambda self, space, i, args_w: jit.isconstant(len(args_w))) |
|
|
def method_insert(self, space, i, args_w): |
|
|
if not args_w: |
|
|
return self |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.