From: Fred Drake Date: Mon, 13 Oct 1997 18:18:33 +0000 (+0000) Subject: struct _frozen: X-Git-Tag: v1.5b1~201 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36fbe76a45bf8c5125c7e1a64b79ad0903a3755f;p=python struct _frozen: Use spaces instead of tabs to indent structure definition; tabs don't work in tex/latex. PyImport_FrozenModules: struct _freeze ==> struct _frozen --- diff --git a/Doc/api.tex b/Doc/api.tex index 2b4bbadf6a..494eb41645 100644 --- a/Doc/api.tex +++ b/Doc/api.tex @@ -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. diff --git a/Doc/api/api.tex b/Doc/api/api.tex index 2b4bbadf6a..494eb41645 100644 --- a/Doc/api/api.tex +++ b/Doc/api/api.tex @@ -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.