[Python-checkins] cpython: Issue #13226: Update sys.setdlopenflags() docstring
victor.stinner
python-checkins at python.org
Mon Oct 31 11:50:25 CET 2011
http://hg.python.org/cpython/rev/05e2bdc00c0c
changeset: 73243:05e2bdc00c0c
user: Victor Stinner <victor.stinner at haypocalc.com>
date: Mon Oct 31 11:48:09 2011 +0100
summary:
Issue #13226: Update sys.setdlopenflags() docstring
Refer to os.RTLD_xxx constants instead of ctypes and DLFCN modules.
files:
Python/sysmodule.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -775,9 +775,7 @@
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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list