Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcde2eca

Browse files
committed
clean up sequence wrapper
1 parent1fdc717 commitcde2eca

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

‎src/runtime/CollectionWrappers/SequenceWrapper.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,6 @@ public bool Contains(T item)
5454
returnfalse;
5555
}
5656

57-
privateTgetItem(intindex)
58-
{
59-
IntPtritem=Runtime.PySequence_GetItem(pyObject.Handle,index);
60-
objectobj;
61-
62-
if(!Converter.ToManaged(item,typeof(T),outobj,true))
63-
{
64-
Runtime.XDecref(item);
65-
Runtime.CheckExceptionOccurred();
66-
}
67-
68-
return(T)obj;
69-
}
70-
7157
publicvoidCopyTo(T[]array,intarrayIndex)
7258
{
7359
varindex=0;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp