We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab33a36 commit 4da04b8Copy full SHA for 4da04b8
src/runtime/CollectionWrappers/ListWrapper.cs
@@ -52,7 +52,7 @@ public void Insert(int index, T item)
52
if (pyItem == IntPtr.Zero)
53
throw new Exception("failed to insert item");
54
55
- var result = Runtime.PyList_Insert(pyObject.Handle, index, pyItem);
+ var result = Runtime.PyList_Insert(pyObject.Reference, index, pyItem);
56
Runtime.XDecref(pyItem);
57
if (result == -1)
58
0 commit comments