Skip to content

Commit 4da04b8

Browse files
committed
update
1 parent ab33a36 commit 4da04b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/CollectionWrappers/ListWrapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void Insert(int index, T item)
5252
if (pyItem == IntPtr.Zero)
5353
throw new Exception("failed to insert item");
5454

55-
var result = Runtime.PyList_Insert(pyObject.Handle, index, pyItem);
55+
var result = Runtime.PyList_Insert(pyObject.Reference, index, pyItem);
5656
Runtime.XDecref(pyItem);
5757
if (result == -1)
5858
throw new Exception("failed to insert item");

0 commit comments

Comments
 (0)