diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-09-27 05:26:12 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-09-27 05:26:12 (GMT) |
commit | 19f2327e7ee3cc307b8b59329c552583d29ffa57 (patch) | |
tree | 839888edb9d55add9833b44910e1aea4aff646fb /Doc | |
parent | 9016f2864affea83d4d2c02f4396823f8a56b394 (diff) | |
parent | f18a5daadd6dc9d43a673a6f363d0116bee20210 (diff) | |
download | cpython-19f2327e7ee3cc307b8b59329c552583d29ffa57.zip cpython-19f2327e7ee3cc307b8b59329c552583d29ffa57.tar.gz cpython-19f2327e7ee3cc307b8b59329c552583d29ffa57.tar.bz2 |
Issue #26439: Merge ctypes doc from 3.5 into 3.6
Diffstat (limited to 'Doc')
-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 2870940..222773b 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. |