diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-31 10:48:09 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-31 10:48:09 (GMT) |
commit | f4afa43fd40130efba32f9c7ba07f895fffe7bad (patch) | |
tree | fd1d1ad971c17b33224331077f130e5822795f29 /Python | |
parent | 39648d11ab487fcc5e3ad88e06ced9c96e45cd43 (diff) | |
download | cpython-f4afa43fd40130efba32f9c7ba07f895fffe7bad.zip cpython-f4afa43fd40130efba32f9c7ba07f895fffe7bad.tar.gz cpython-f4afa43fd40130efba32f9c7ba07f895fffe7bad.tar.bz2 |
Issue #13226: Update sys.setdlopenflags() docstring
Refer to os.RTLD_xxx constants instead of ctypes and DLFCN modules.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/sysmodule.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 6911c9a..ab0008e 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -775,9 +775,7 @@ interpreter loads extension modules. Among other things, this will enable\n\ a lazy resolving of symbols when importing a module, if called as\n\ sys.setdlopenflags(0). To share symbols across extension modules, call as\n\ sys.setdlopenflags(ctypes.RTLD_GLOBAL). Symbolic names for the flag modules\n\ -can be either found in the ctypes module, or in the DLFCN module. If DLFCN\n\ -is not available, it can be generated from /usr/include/dlfcn.h using the\n\ -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) |