changeset: 104096:f496fb6bf4a0 parent: 104092:96fb3e5c4ae7 parent: 104095:4b7e51998a90 user: Martin Panter date: Tue Sep 27 05:26:49 2016 +0000 description: Issue #26439: Merge ctypes doc from 3.6 diff -r 96fb3e5c4ae7 -r f496fb6bf4a0 Doc/library/ctypes.rst --- a/Doc/library/ctypes.rst Mon Sep 26 21:46:26 2016 -0700 +++ b/Doc/library/ctypes.rst Tue Sep 27 05:26:49 2016 +0000 @@ -1361,8 +1361,9 @@ 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.