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

Commit7972b5d

Browse files
committed
fixup! Merge remote-tracking branch 'origin/master' into modernize-import-hook
1 parent5e9863c commit7972b5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/runtime/importhook.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ def __init__(self):
3939
@classmethod
4040
def find_spec(klass, fullname, paths=None, target=None):
4141
import clr
42-
if clr._availableNamespaces and fullname in clr._availableNamespaces:
42+
if clr._available_namespaces and fullname in clr._available_namespaces:
4343
return importlib.machinery.ModuleSpec(fullname, DotNetLoader(), is_package=True)
4444
return None
4545
";
46-
conststringavailableNsKey="_availableNamespaces";
46+
conststringavailableNsKey="_available_namespaces";
4747

4848
/// <summary>
4949
/// Initialization performed on startup of the Python runtime.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp