summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-09-27 05:10:40 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-09-27 05:10:40 (GMT)
commitf18a5daadd6dc9d43a673a6f363d0116bee20210 (patch)
treeec5f67fc067e3a5103fa246f5f8ffd16270c3c77 /Doc
parent407ac476905a12e80ef4eb511a2d5111dbe62b99 (diff)
downloadcpython-f18a5daadd6dc9d43a673a6f363d0116bee20210.zip
cpython-f18a5daadd6dc9d43a673a6f363d0116bee20210.tar.gz
cpython-f18a5daadd6dc9d43a673a6f363d0116bee20210.tar.bz2
Issue #26439: Document that RTLD_NOW is always added
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/ctypes.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
index a675790..072d61e 100644
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -1354,8 +1354,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.