From 306606a2fa723915505d36a2c06306139a19f2bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carn=C3=AB=20Draug?= Date: Sat, 28 Mar 2020 12:41:21 +0000 Subject: [PATCH] doc: improve english writing --- Doc/library/ctypes.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index 7e673c26bf0..281f0f47a98 100644 --- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -1395,9 +1395,9 @@ 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 it is ``None``, the default is to use -the flags that result in the most secure DLL load to avoiding 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. +the flags that result in the most secure DLL load in order to avoid 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. .. versionchanged:: 3.8 Added *winmode* parameter.