#13226: update references from ctypes/DLFCN modules to os module

This commit is contained in:
Andrew Kuchling 2013-06-21 10:58:41 -04:00
parent 3468d25a80
commit c61b913078
2 changed files with 7 additions and 6 deletions

View file

@ -774,7 +774,7 @@ Set the flags used by the interpreter for dlopen calls, such as when the\n\
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\
sys.setdlopenflags(os.RTLD_GLOBAL). Symbolic names for the flag modules\n\
can be found in the os module (RTLD_xxx constants, e.g. os.RTLD_LAZY).");
static PyObject *
@ -790,7 +790,7 @@ PyDoc_STRVAR(getdlopenflags_doc,
"getdlopenflags() -> int\n\
\n\
Return the current value of the flags that are used for dlopen calls.\n\
The flag constants are defined in the ctypes and DLFCN modules.");
The flag constants are defined in the os module.");
#endif /* HAVE_DLOPEN */