mirror of
https://github.com/python/cpython.git
synced 2025-10-18 12:48:57 +00:00
Issue #13226: Update sys.setdlopenflags() docstring
Refer to os.RTLD_xxx constants instead of ctypes and DLFCN modules.
This commit is contained in:
parent
39648d11ab
commit
f4afa43fd4
1 changed files with 1 additions and 3 deletions
|
@ -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\
|
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(0). To share symbols across extension modules, call as\n\
|
||||||
sys.setdlopenflags(ctypes.RTLD_GLOBAL). Symbolic names for the flag modules\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\
|
can be found in the os module (RTLD_xxx constants, e.g. os.RTLD_LAZY).");
|
||||||
is not available, it can be generated from /usr/include/dlfcn.h using the\n\
|
|
||||||
h2py script.");
|
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
sys_getdlopenflags(PyObject *self, PyObject *args)
|
sys_getdlopenflags(PyObject *self, PyObject *args)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue