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

Commitd9628f7

Browse files
committed
BorrowedReference instead ofin NewReference
1 parent838dfc2 commitd9628f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/runtime/pythonexception.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,9 @@ public static void ThrowIfIsNull(IntPtr ob)
253253
}
254254
}
255255

256-
internalstaticvoidThrowIfIsNull(inNewReferencereference)
256+
internalstaticvoidThrowIfIsNull(BorrowedReferencereference)
257257
{
258-
if(reference.IsNull())
258+
if(reference.IsNull)
259259
{
260260
thrownewPythonException();
261261
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp