Skip to content

Commit c55104c

Browse files
committed
Change argument name → libname for self-consistency
1 parent 28349a7 commit c55104c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cuda_bindings/cuda/bindings/_path_finder/load_dl_windows.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,19 +103,19 @@ def check_if_already_loaded_from_elsewhere(libname: str) -> Optional[LoadedDL]:
103103
return None
104104

105105

106-
def load_with_system_search(name: str, _unused: str) -> Optional[LoadedDL]:
106+
def load_with_system_search(libname: str, _unused: str) -> Optional[LoadedDL]:
107107
"""Try to load a DLL using system search paths.
108108
109109
Args:
110-
name: The name of the library to load
110+
libname: The name of the library to load
111111
_unused: Unused parameter (kept for interface consistency)
112112
113113
Returns:
114114
A LoadedDL object if successful, None if the library cannot be loaded
115115
"""
116116
from .supported_libs import SUPPORTED_WINDOWS_DLLS
117117

118-
dll_names = SUPPORTED_WINDOWS_DLLS.get(name)
118+
dll_names = SUPPORTED_WINDOWS_DLLS.get(libname)
119119
if dll_names is None:
120120
return None
121121

0 commit comments

Comments
 (0)