Kaydet (Commit) 36fbe76a authored tarafından Fred Drake's avatar Fred Drake

struct _frozen:

	Use spaces instead of tabs to indent structure definition; tabs don't
	work in tex/latex.

PyImport_FrozenModules:
	struct _freeze ==> struct _frozen
üst 3b31cd2f
...@@ -1060,16 +1060,16 @@ as generated by the \code{freeze} utility (see \file{Tools/freeze/} in ...@@ -1060,16 +1060,16 @@ as generated by the \code{freeze} utility (see \file{Tools/freeze/} in
the Python source distribution). Its definition is: the Python source distribution). Its definition is:
\begin{verbatim} \begin{verbatim}
struct _frozen { struct _frozen {
char *name; char *name;
unsigned char *code; unsigned char *code;
int size; int size;
}; };
\end{verbatim} \end{verbatim}
\end{ctypedesc} \end{ctypedesc}
\begin{cvardesc}{struct _frozen *}{PyImport_FrozenModules} \begin{cvardesc}{struct _frozen *}{PyImport_FrozenModules}
This pointer is initialized to point to an array of \code{struct This pointer is initialized to point to an array of \code{struct
_freeze} records, terminated by one whose members are all \code{NULL} _frozen} records, terminated by one whose members are all \code{NULL}
or zero. When a frozen module is imported, it is searched in this or zero. When a frozen module is imported, it is searched in this
table. Third party code could play tricks with this to provide a table. Third party code could play tricks with this to provide a
dynamically created collection of frozen modules. dynamically created collection of frozen modules.
......
...@@ -1060,16 +1060,16 @@ as generated by the \code{freeze} utility (see \file{Tools/freeze/} in ...@@ -1060,16 +1060,16 @@ as generated by the \code{freeze} utility (see \file{Tools/freeze/} in
the Python source distribution). Its definition is: the Python source distribution). Its definition is:
\begin{verbatim} \begin{verbatim}
struct _frozen { struct _frozen {
char *name; char *name;
unsigned char *code; unsigned char *code;
int size; int size;
}; };
\end{verbatim} \end{verbatim}
\end{ctypedesc} \end{ctypedesc}
\begin{cvardesc}{struct _frozen *}{PyImport_FrozenModules} \begin{cvardesc}{struct _frozen *}{PyImport_FrozenModules}
This pointer is initialized to point to an array of \code{struct This pointer is initialized to point to an array of \code{struct
_freeze} records, terminated by one whose members are all \code{NULL} _frozen} records, terminated by one whose members are all \code{NULL}
or zero. When a frozen module is imported, it is searched in this or zero. When a frozen module is imported, it is searched in this
table. Third party code could play tricks with this to provide a table. Third party code could play tricks with this to provide a
dynamically created collection of frozen modules. dynamically created collection of frozen modules.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment