changeset: 104095:4b7e51998a90 branch: 3.6 parent: 104091:39a4be5e003d parent: 104094:0db4403e62c4 user: Martin Panter date: Tue Sep 27 05:26:12 2016 +0000 files: Doc/library/ctypes.rst description: Issue #26439: Merge ctypes doc from 3.5 into 3.6 diff -r 39a4be5e003d -r 4b7e51998a90 Doc/library/ctypes.rst --- a/Doc/library/ctypes.rst Mon Sep 26 21:45:57 2016 -0700 +++ b/Doc/library/ctypes.rst Tue Sep 27 05:26:12 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.