mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Fixed latex2html weirdness with footnotes.
This commit is contained in:
parent
b55ce1e8b6
commit
93aa0f23a7
1 changed files with 6 additions and 10 deletions
|
@ -267,8 +267,7 @@ output.
|
||||||
|
|
||||||
Typing the interrupt character (usually Control-C or DEL) to the
|
Typing the interrupt character (usually Control-C or DEL) to the
|
||||||
primary or secondary prompt cancels the input and returns to the
|
primary or secondary prompt cancels the input and returns to the
|
||||||
primary prompt.%
|
primary prompt.\footnote{
|
||||||
\footnote{
|
|
||||||
A problem with the GNU Readline package may prevent this.
|
A problem with the GNU Readline package may prevent this.
|
||||||
}
|
}
|
||||||
Typing an interrupt while a command is executing raises the
|
Typing an interrupt while a command is executing raises the
|
||||||
|
@ -1060,8 +1059,7 @@ they may be referenced.
|
||||||
|
|
||||||
The actual parameters (arguments) to a function call are introduced in
|
The actual parameters (arguments) to a function call are introduced in
|
||||||
the local symbol table of the called function when it is called; thus,
|
the local symbol table of the called function when it is called; thus,
|
||||||
arguments are passed using \emph{call by value}.%
|
arguments are passed using \emph{call by value}.\footnote{
|
||||||
\footnote{
|
|
||||||
Actually, \emph{call by object reference} would be a better
|
Actually, \emph{call by object reference} would be a better
|
||||||
description, since if a mutable object is passed, the caller
|
description, since if a mutable object is passed, the caller
|
||||||
will see any changes the callee makes to it (e.g., items
|
will see any changes the callee makes to it (e.g., items
|
||||||
|
@ -1730,8 +1728,7 @@ Note that comparing objects of different types is legal. The outcome
|
||||||
is deterministic but arbitrary: the types are ordered by their name.
|
is deterministic but arbitrary: the types are ordered by their name.
|
||||||
Thus, a list is always smaller than a string, a string is always
|
Thus, a list is always smaller than a string, a string is always
|
||||||
smaller than a tuple, etc. Mixed numeric types are compared according
|
smaller than a tuple, etc. Mixed numeric types are compared according
|
||||||
to their numeric value, so 0 equals 0.0, etc.%
|
to their numeric value, so 0 equals 0.0, etc.\footnote{
|
||||||
\footnote{
|
|
||||||
The rules for comparing objects of different types should
|
The rules for comparing objects of different types should
|
||||||
not be relied upon; they may change in a future version of
|
not be relied upon; they may change in a future version of
|
||||||
the language.
|
the language.
|
||||||
|
@ -1822,8 +1819,7 @@ definitions.
|
||||||
These statements are intended to initialize the module.
|
These statements are intended to initialize the module.
|
||||||
They are executed only the
|
They are executed only the
|
||||||
\emph{first}
|
\emph{first}
|
||||||
time the module is imported somewhere.%
|
time the module is imported somewhere.\footnote{
|
||||||
\footnote{
|
|
||||||
In fact function definitions are also `statements' that are
|
In fact function definitions are also `statements' that are
|
||||||
`executed'; the execution enters the function name in the
|
`executed'; the execution enters the function name in the
|
||||||
module's global symbol table.
|
module's global symbol table.
|
||||||
|
@ -2938,8 +2934,8 @@ names in modules are attribute references: in the expression
|
||||||
\code{modname.funcname}, \code{modname} is a module object and
|
\code{modname.funcname}, \code{modname} is a module object and
|
||||||
\code{funcname} is an attribute of it. In this case there happens to
|
\code{funcname} is an attribute of it. In this case there happens to
|
||||||
be a straightforward mapping between the module's attributes and the
|
be a straightforward mapping between the module's attributes and the
|
||||||
global names defined in the module: they share the same name space!%
|
global names defined in the module: they share the same name
|
||||||
\footnote{
|
space!\footnote{
|
||||||
Except for one thing. Module objects have a secret read-only
|
Except for one thing. Module objects have a secret read-only
|
||||||
attribute called \code{__dict__} which returns the dictionary
|
attribute called \code{__dict__} which returns the dictionary
|
||||||
used to implement the module's name space; the name
|
used to implement the module's name space; the name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue