mirror of
https://github.com/python/cpython.git
synced 2025-12-09 18:48:05 +00:00
Made a few minor style & markup changes to the new {get,set}dlopenflags()
descriptions; added availability notes.
This commit is contained in:
parent
b926866cb7
commit
5d808fba00
1 changed files with 17 additions and 15 deletions
|
|
@ -181,10 +181,11 @@ way to exit a program when an error occurs.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{getdlopenflags}{}
|
\begin{funcdesc}{getdlopenflags}{}
|
||||||
Return the current value of the flags that are used for \code{dlopen}
|
Return the current value of the flags that are used for
|
||||||
calls. The flag constants are defined in the \refmodule{dl} and
|
\cfunction{dlopen()} calls. The flag constants are defined in the
|
||||||
\module{DLFCN} modules.
|
\refmodule{dl} and \module{DLFCN} modules.
|
||||||
\versionadded{2.2}
|
Availability: \UNIX.
|
||||||
|
\versionadded{2.2}
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{getrefcount}{object}
|
\begin{funcdesc}{getrefcount}{object}
|
||||||
|
|
@ -341,17 +342,18 @@ maximizing responsiveness as well as overhead.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{sertdlopenflags}{n}
|
\begin{funcdesc}{sertdlopenflags}{n}
|
||||||
Set the flags that will be used for \code{dlopen()} calls, i.e. when
|
Set the flags used by the interpreter for \cfunction{dlopen()}
|
||||||
the interpreter loads extension modules. Among other things, this
|
calls, such as when the interpreter loads extension modules. Among
|
||||||
will enable a lazy resolving of symbols when imporing a module, if
|
other things, this will enable a lazy resolving of symbols when
|
||||||
called as \code{sys.setdlopenflags(0)}. To share symols across
|
imporing a module, if called as \code{sys.setdlopenflags(0)}. To
|
||||||
extension modules, call as
|
share symols across extension modules, call as
|
||||||
\code{sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL)}. The symbolic
|
\code{sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL)}. Symbolic
|
||||||
names for the flag modules can be either found in the \refmodule{dl}
|
names for the flag modules can be either found in the \refmodule{dl}
|
||||||
module, or in the \module{DLFCN} module. If \module{DLFCN} is not
|
module, or in the \module{DLFCN} module. If \module{DLFCN} is not
|
||||||
available, it can be generated from \code{/usr/include/dlfcn.h} using
|
available, it can be generated from \code{/usr/include/dlfcn.h}
|
||||||
the \code{h2py} script.
|
using the \code{h2py} script.
|
||||||
\versionadded{2.2}
|
Availability: \UNIX.
|
||||||
|
\versionadded{2.2}
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{setprofile}{profilefunc}
|
\begin{funcdesc}{setprofile}{profilefunc}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue