Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6541798

Browse files
authored
Grammatical improvements for ctypes 'winmode' documentation (GH-19167)
1 parent 02f72b8 commit 6541798

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/ctypes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1440,8 +1440,8 @@ copy of the windows error code.
14401440

14411441
The *winmode* parameter is used on Windows to specify how the library is loaded
14421442
(since *mode* is ignored). It takes any value that is valid for the Win32 API
1443-
``LoadLibraryEx`` flags parameter. When omitted, the default is to use the flags
1444-
that result in the most secure DLL load to avoiding issues such as DLL
1443+
``LoadLibraryEx`` flags parameter. When omitted, the default is to use the
1444+
flags that result in the most secure DLL load, which avoids issues such as DLL
14451445
hijacking. Passing the full path to the DLL is the safest way to ensure the
14461446
correct library and dependencies are loaded.
14471447

0 commit comments

Comments
 (0)