cpython: f496fb6bf4a0 (original) (raw)

Mercurial > cpython

changeset 104096:f496fb6bf4a0

Issue #26439: Merge ctypes doc from 3.6 [#26439]

Martin Panter vadmium+py@gmail.com
date Tue, 27 Sep 2016 05:26:49 +0000
parents 96fb3e5c4ae7(current diff)4b7e51998a90(diff)
children 9e59cb403efa
files
diffstat 1 files changed, 3 insertions(+), 2 deletions(-)[+] [-] Doc/library/ctypes.rst 5

line wrap: on

line diff

--- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -1361,8 +1361,9 @@ function is used to load the library int it. The mode parameter can be used to specify how the library is loaded. For -details, consult the :manpage:dlopen(3) manpage, on Windows, mode is -ignored. +details, consult the :manpage:dlopen(3) manpage. On Windows, mode is +ignored. On posix systems, RTLD_NOW is always added, and is not +configurable. The use_errno parameter, when set to True, enables a ctypes mechanism that allows accessing the system :data:errno error number in a safe way.