mirror of
https://github.com/python/cpython.git
synced 2025-11-15 16:09:29 +00:00
Doc/lib/libfuncs.tex: correct items in itemize
Doc/dist/dist.tex: avoid uncommenting the verbose environment (by the py2texi tool)
This commit is contained in:
parent
283b670f6b
commit
4c8fa42aca
2 changed files with 10 additions and 10 deletions
4
Doc/dist/dist.tex
vendored
4
Doc/dist/dist.tex
vendored
|
|
@ -1444,11 +1444,11 @@ tree,'' in a temporary directory created by \command{bdist_rpm}.)
|
||||||
% \longprogramopt{spec-only}, this gives you an opportunity to customize
|
% \longprogramopt{spec-only}, this gives you an opportunity to customize
|
||||||
% the \file{.spec} file manually:
|
% the \file{.spec} file manually:
|
||||||
%
|
%
|
||||||
% \begin{verbatim}
|
% \ begin{verbatim}
|
||||||
% > python setup.py bdist_rpm --spec-only
|
% > python setup.py bdist_rpm --spec-only
|
||||||
% # ...edit dist/FooBar-1.0.spec
|
% # ...edit dist/FooBar-1.0.spec
|
||||||
% > python setup.py bdist_rpm --spec-file=dist/FooBar-1.0.spec
|
% > python setup.py bdist_rpm --spec-file=dist/FooBar-1.0.spec
|
||||||
% \end{verbatim}
|
% \ end{verbatim}
|
||||||
%
|
%
|
||||||
% (Although a better way to do this is probably to override the standard
|
% (Although a better way to do this is probably to override the standard
|
||||||
% \command{bdist\_rpm} command with one that writes whatever else you want
|
% \command{bdist\_rpm} command with one that writes whatever else you want
|
||||||
|
|
|
||||||
|
|
@ -806,21 +806,21 @@ class C(object):
|
||||||
|
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
|
|
||||||
\item{Python modules' code is recompiled and the module-level code
|
\item Python modules' code is recompiled and the module-level code
|
||||||
reexecuted, defining a new set of objects which are bound to names in
|
reexecuted, defining a new set of objects which are bound to names in
|
||||||
the module's dictionary. The \code{init} function of extension
|
the module's dictionary. The \code{init} function of extension
|
||||||
modules is not called a second time.}
|
modules is not called a second time.
|
||||||
|
|
||||||
\item{As with all other objects in Python the old objects are only
|
\item As with all other objects in Python the old objects are only
|
||||||
reclaimed after their reference counts drop to zero.}
|
reclaimed after their reference counts drop to zero.
|
||||||
|
|
||||||
\item{The names in the module namespace are updated to point to
|
\item The names in the module namespace are updated to point to
|
||||||
any new or changed objects.}
|
any new or changed objects.
|
||||||
|
|
||||||
\item{Other references to the old objects (such as names external
|
\item Other references to the old objects (such as names external
|
||||||
to the module) are not rebound to refer to the new objects and
|
to the module) are not rebound to refer to the new objects and
|
||||||
must be updated in each namespace where they occur if that is
|
must be updated in each namespace where they occur if that is
|
||||||
desired.}
|
desired.
|
||||||
|
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue