diff options
author | Guido van Rossum <guido@python.org> | 1997-11-25 01:00:40 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-11-25 01:00:40 (GMT) |
commit | f259efe3d96009c61a9a1fad355dfbf1055ad8af (patch) | |
tree | 6480a7229a07287bb4ffbfac77d0913aadd8923a /Doc/lib | |
parent | 3e1e274d0b16bab5fd27a7d418863be8d3093466 (diff) | |
download | cpython-f259efe3d96009c61a9a1fad355dfbf1055ad8af.zip cpython-f259efe3d96009c61a9a1fad355dfbf1055ad8af.tar.gz cpython-f259efe3d96009c61a9a1fad355dfbf1055ad8af.tar.bz2 |
Get rid of math mode in some places.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libmath.tex | 6 | ||||
-rw-r--r-- | Doc/lib/libpprint.tex | 2 | ||||
-rw-r--r-- | Doc/lib/libsys.tex | 2 | ||||
-rw-r--r-- | Doc/lib/libtime.tex | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/Doc/lib/libmath.tex b/Doc/lib/libmath.tex index e41edda..8f7eeba 100644 --- a/Doc/lib/libmath.tex +++ b/Doc/lib/libmath.tex @@ -37,7 +37,7 @@ Return the hyperbolic cosine of \var{x}. \end{funcdesc} \begin{funcdesc}{exp}{x} -Return the exponential value $\mbox{e}^x$. +Return \code{e**\var{x}}. \end{funcdesc} \begin{funcdesc}{fabs}{x} @@ -62,7 +62,7 @@ Return the Euclidean distance, \code{sqrt(x*x + y*y)}. \end{funcdesc} \begin{funcdesc}{ldexp}{x, i} -Return $x {\times} 2^i$. +Return \code{\var{x} * (2**\var{i})}. \end{funcdesc} \begin{funcdesc}{modf}{x} @@ -71,7 +71,7 @@ carry the sign of \var{x}. \end{funcdesc} \begin{funcdesc}{pow}{x, y} -Return $x^y$. +Return \code{\var{x}**\var{y}}. \end{funcdesc} \begin{funcdesc}{sin}{x} diff --git a/Doc/lib/libpprint.tex b/Doc/lib/libpprint.tex index aabc8c7..d003d2b 100644 --- a/Doc/lib/libpprint.tex +++ b/Doc/lib/libpprint.tex @@ -122,7 +122,7 @@ One more support function is also defined: Return a string representation of \var{object}, protected against recursive data structures. If the representation of \var{object} exposes a recursive entry, the recursive reference will be represented -as \samp{$<$Recursion on \var{typename} with id=\var{number}$>$}. The +as \code{<Recursion on \var{typename} with id=\var{number}>}. The representation is not otherwise formatted. \begin{verbatim} diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex index 555803e..1e256af 100644 --- a/Doc/lib/libsys.tex +++ b/Doc/lib/libsys.tex @@ -176,7 +176,7 @@ determines how often the interpreter checks for periodic things such as thread switches and signal handlers. The default is 10, meaning the check is performed every 10 Python virtual instructions. Setting it to a larger value may increase performance for programs using -threads. Setting it to a value $\leq 0$ checks every virtual instruction, +threads. Setting it to a value \code{<=} 0 checks every virtual instruction, maximizing responsiveness as well as overhead. \end{funcdesc} diff --git a/Doc/lib/libtime.tex b/Doc/lib/libtime.tex index e352505..74e8104 100644 --- a/Doc/lib/libtime.tex +++ b/Doc/lib/libtime.tex @@ -48,8 +48,8 @@ integers: year (e.g.\ 1993), month (1--12), day (1--31), hour (0--23), minute (0--59), second (0--59), weekday (0--6, monday is 0), Julian day (1--366) and daylight savings flag (-1, 0 or 1). Note that unlike the C structure, the month value is a range of 1-12, not -0-11. A year value of $<$ 100 will typically be silently converted to -1900 $+$ year value. A -1 argument as daylight savings flag, passed to +0-11. A year value less than 100 will typically be silently converted to +1900 plus the year value. A -1 argument as daylight savings flag, passed to \code{mktime()} will usually result in the correct daylight savings state to be filled in. |