[Python-checkins] CVS: python/dist/src/Doc/ref ref2.tex,1.17,1.17.4.1
Fred L. Drake
python-dev@python.org
2000年3月22日 13:40:28 -0500 (EST)
Update of /projects/cvsroot/python/dist/src/Doc/ref
In directory weyr:/home/fdrake/projects/python/Doc-152p2/ref
Modified Files:
Tag: release152p1-patches
ref2.tex
Log Message:
Lots of nitty-gritty from Detlef Lannert
<lannert@lannert.rz.uni-duesseldorf.de>.
Index: ref2.tex
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Doc/ref/ref2.tex,v
retrieving revision 1.17
retrieving revision 1.17.4.1
diff -C2 -r1.17 -r1.17.4.1
*** ref2.tex 1999年03月05日 18:30:21 1.17
--- ref2.tex 2000年03月22日 18:40:26 1.17.4.1
***************
*** 149,153 ****
A formfeed character may be present at the start of the line; it will
! be ignored for the indentation calculations above. A formfeed
characters occurring elsewhere in the leading whitespace have an
undefined effect (for instance, they may reset the space count to
--- 149,153 ----
A formfeed character may be present at the start of the line; it will
! be ignored for the indentation calculations above. Formfeed
characters occurring elsewhere in the leading whitespace have an
undefined effect (for instance, they may reset the space count to
***************
*** 370,374 ****
backslashes). Specifically, \emph{a raw string cannot end in a single
backslash} (since the backslash would escape the following quote
! character).
\subsection{String literal concatenation\label{string-catenation}}
--- 370,376 ----
backslashes). Specifically, \emph{a raw string cannot end in a single
backslash} (since the backslash would escape the following quote
! character). Note also that a single backslash followed by a newline
! is interpreted as those two characters as part of the string,
! \emph{not} as a line continuation.
\subsection{String literal concatenation\label{string-catenation}}
***************
*** 465,469 ****
Note that the integer part of a floating point number cannot look like
! an octal integer.
The allowed range of floating point literals is
implementation-dependent.
--- 467,473 ----
Note that the integer part of a floating point number cannot look like
! an octal integer, though the exponent may look like an octal literal
! but will always be interpreted using radix 10. For example,
! \samp{1e010} is legal, while \samp{07.1} is a syntax error.
The allowed range of floating point literals is
implementation-dependent.
***************
*** 486,490 ****
\end{verbatim}
! An imaginary literals yields a complex number with a real part of
0.0. Complex numbers are represented as a pair of floating point
numbers and have the same restrictions on their range. To create a
--- 490,494 ----
\end{verbatim}
! An imaginary literal yields a complex number with a real part of
0.0. Complex numbers are represented as a pair of floating point
numbers and have the same restrictions on their range. To create a
***************
*** 523,527 ****
The period can also occur in floating-point and imaginary literals. A
! sequence of three periods has a special meaning as ellipses in slices.
The following printing ASCII characters have special meaning as part
--- 527,531 ----
The period can also occur in floating-point and imaginary literals. A
! sequence of three periods has a special meaning as an ellipsis in slices.
The following printing ASCII characters have special meaning as part