diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-09-27 05:26:49 +0000 |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-09-27 05:26:49 +0000 |
commit | 2f63faefdf1a6af9666da0b5d7d2725463c679e7 (patch) | |
tree | 588298fa4a3ef241a0a5291cf403ffe2b0e0f5b7 | |
parent | b87e8f7d0a524d51ea96964c158c21589d665f35 (diff) | |
parent | 19f2327e7ee3cc307b8b59329c552583d29ffa57 (diff) | |
download | cpython-git-2f63faefdf1a6af9666da0b5d7d2725463c679e7.tar.gz |
Issue #26439: Merge ctypes doc from 3.6
-rw-r--r-- | Doc/library/ctypes.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index 2870940b62..222773b54e 100644 --- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -1361,8 +1361,9 @@ function is used to load the library into the process, and to get a handle to 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. |