mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Minor markup nits and slight style-guide conformance changes.
This commit is contained in:
parent
a5bca579fd
commit
30cf118cf7
1 changed files with 9 additions and 8 deletions
|
@ -1,22 +1,23 @@
|
||||||
\section{\module{MacOS} ---
|
\section{\module{MacOS} ---
|
||||||
Access to MacOS interpreter features}
|
Access to Mac OS interpreter features}
|
||||||
|
|
||||||
\declaremodule{builtin}{MacOS}
|
\declaremodule{builtin}{MacOS}
|
||||||
\platform{Mac}
|
\platform{Mac}
|
||||||
\modulesynopsis{Access to MacOS specific interpreter features.}
|
\modulesynopsis{Access to Mac OS-specific interpreter features.}
|
||||||
|
|
||||||
|
|
||||||
This module provides access to MacOS specific functionality in the
|
This module provides access to MacOS specific functionality in the
|
||||||
Python interpreter, such as how the interpreter eventloop functions
|
Python interpreter, such as how the interpreter eventloop functions
|
||||||
and the like. Use with care.
|
and the like. Use with care.
|
||||||
|
|
||||||
Note the capitalisation of the module name, this is a historical
|
Note the capitalization of the module name; this is a historical
|
||||||
artifact.
|
artifact.
|
||||||
|
|
||||||
\begin{datadesc}{runtimemodel}
|
\begin{datadesc}{runtimemodel}
|
||||||
Either \code{"ppc"}, \code{"carbon"} or \code{"macho"}. This signifies
|
Either \code{'ppc'}, \code{'carbon'} or \code{'macho'}. This
|
||||||
whether this Python uses the classic (InterfaceLib style) runtime
|
signifies whether this Python uses the classic (InterfaceLib style)
|
||||||
model, the MacOS X compatible CarbonLib style or the MacOS X-only
|
runtime model, the Mac OS X compatible CarbonLib style or the Mac OS
|
||||||
Mach-O style.
|
X-only Mach-O style.
|
||||||
\end{datadesc}
|
\end{datadesc}
|
||||||
|
|
||||||
\begin{excdesc}{Error}
|
\begin{excdesc}{Error}
|
||||||
|
@ -25,7 +26,7 @@ functions in this module or from other mac-specific modules like the
|
||||||
toolbox interfaces. The arguments are the integer error code (the
|
toolbox interfaces. The arguments are the integer error code (the
|
||||||
\cdata{OSErr} value) and a textual description of the error code.
|
\cdata{OSErr} value) and a textual description of the error code.
|
||||||
Symbolic names for all known error codes are defined in the standard
|
Symbolic names for all known error codes are defined in the standard
|
||||||
module \module{macerrors}\refstmodindex{macerrors}.
|
module \refmodule{macerrors}.\refstmodindex{macerrors}
|
||||||
\end{excdesc}
|
\end{excdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{SetEventHandler}{handler}
|
\begin{funcdesc}{SetEventHandler}{handler}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue