8000 fix compiler error · pythonnet/pythonnet@17c47a7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 17c47a7

Browse files
committed
fix compiler error
1 parent 5cc575d commit 17c47a7

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
@@ -14,7 +14,7 @@ public T this[int index]
1414
{
1515
get
1616
{
17-
var item = Runtime.PyList_GetItem(pyObject.Handle, index);
17+
var item = Runtime.PyList_GetItem(pyObject.Reference, index);
1818
var pyItem = new PyObject(item);
1919

2020
if (!Converter.ToManaged(pyItem.Handle, typeof(T), out object obj, true))

0 commit comments

Comments
 (0)
0