mirror of https://github.com/python/cpython.git
Grammatical improvements for ctypes 'winmode' documentation (GH-19167)
This commit is contained in:
parent
02f72b8b93
commit
65417988a5
|
@ -1440,8 +1440,8 @@ copy of the windows error code.
|
|||
|
||||
The *winmode* parameter is used on Windows to specify how the library is loaded
|
||||
(since *mode* is ignored). It takes any value that is valid for the Win32 API
|
||||
``LoadLibraryEx`` flags parameter. When omitted, the default is to use the flags
|
||||
that result in the most secure DLL load to avoiding issues such as DLL
|
||||
``LoadLibraryEx`` flags parameter. When omitted, the default is to use the
|
||||
flags that result in the most secure DLL load, which avoids issues such as DLL
|
||||
hijacking. Passing the full path to the DLL is the safest way to ensure the
|
||||
correct library and dependencies are loaded.
|
||||
|
||||
|
|
Loading…
Reference in New Issue