mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
struct _frozen:
Use spaces instead of tabs to indent structure definition; tabs don't work in tex/latex. PyImport_FrozenModules: struct _freeze ==> struct _frozen
This commit is contained in:
parent
3b31cd2fe7
commit
36fbe76a45
2 changed files with 8 additions and 8 deletions
|
@ -1060,16 +1060,16 @@ as generated by the \code{freeze} utility (see \file{Tools/freeze/} in
|
|||
the Python source distribution). Its definition is:
|
||||
\begin{verbatim}
|
||||
struct _frozen {
|
||||
char *name;
|
||||
unsigned char *code;
|
||||
int size;
|
||||
char *name;
|
||||
unsigned char *code;
|
||||
int size;
|
||||
};
|
||||
\end{verbatim}
|
||||
\end{ctypedesc}
|
||||
|
||||
\begin{cvardesc}{struct _frozen *}{PyImport_FrozenModules}
|
||||
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
|
||||
table. Third party code could play tricks with this to provide a
|
||||
dynamically created collection of frozen modules.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue