cpython: 05e2bdc00c0c (original) (raw)

Mercurial > cpython

changeset 73243:05e2bdc00c0c

Issue #13226: Update sys.setdlopenflags() docstring Refer to os.RTLD_xxx constants instead of ctypes and DLFCN modules. [#13226]

Victor Stinner victor.stinner@haypocalc.com
date Mon, 31 Oct 2011 11:48:09 +0100
parents a293cc899c7b
children a228890c624d
files Python/sysmodule.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-)[+] [-] Python/sysmodule.c 4

line wrap: on

line diff

--- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -775,9 +775,7 @@ interpreter loads extension modules. Am a lazy resolving of symbols when importing a module, if called as\n[](#l1.4) sys.setdlopenflags(0). To share symbols across extension modules, call as\n[](#l1.5) sys.setdlopenflags(ctypes.RTLD_GLOBAL). Symbolic names for the flag modules\n[](#l1.6) -can be either found in the ctypes module, or in the DLFCN module. If DLFCN\n[](#l1.7) -is not available, it can be generated from /usr/include/dlfcn.h using the\n[](#l1.8) -h2py script."); +can be found in the os module (RTLD_xxx constants, e.g. os.RTLD_LAZY)."); static PyObject * sys_getdlopenflags(PyObject *self, PyObject *args)