diff options
author | Fred Drake <fdrake@acm.org> | 1997-10-13 18:18:33 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1997-10-13 18:18:33 (GMT) |
commit | 36fbe76a45bf8c5125c7e1a64b79ad0903a3755f (patch) | |
tree | 0b0d17c8e349bf6be465eb3817fbc128f8f75e36 /Doc | |
parent | 3b31cd2fe752bea547a53da870e7978dc36266d2 (diff) | |
download | cpython-36fbe76a45bf8c5125c7e1a64b79ad0903a3755f.zip cpython-36fbe76a45bf8c5125c7e1a64b79ad0903a3755f.tar.gz cpython-36fbe76a45bf8c5125c7e1a64b79ad0903a3755f.tar.bz2 |
struct _frozen:
Use spaces instead of tabs to indent structure definition; tabs don't
work in tex/latex.
PyImport_FrozenModules:
struct _freeze ==> struct _frozen
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/api.tex | 8 | ||||
-rw-r--r-- | Doc/api/api.tex | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/Doc/api.tex b/Doc/api.tex index 2b4bbad..494eb41 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 2b4bbad..494eb41 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. |