[Python-checkins] CVS: python/dist/src/Doc/ref ref6.tex,1.42,1.43

Fred L. Drake fdrake@users.sourceforge.net
2001年12月04日 21:46:28 -0800


Update of /cvsroot/python/python/dist/src/Doc/ref
In directory usw-pr-cvs1:/tmp/cvs-serv19734/ref
Modified Files:
	ref6.tex 
Log Message:
Add a note to the description of the interaction between the softspace
attribute of file objects, the print statement, and other file operations.
This closes SF bug #484857.
Fix minor markup nits.
Index: ref6.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref6.tex,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** ref6.tex	2001年10月24日 19:50:31	1.42
--- ref6.tex	2001年12月05日 05:46:25	1.43
***************
*** 46,52 ****
 to a string using the built-in \function{repr()}\bifuncindex{repr}
 function and the resulting string is written to standard output (see
! section \ref{print}) on a line by itself. (Expression statements
! yielding None are not written, so that procedure calls do not cause
! any output.)
 \ttindex{None}
 \indexii{string}{conversion}
--- 46,52 ----
 to a string using the built-in \function{repr()}\bifuncindex{repr}
 function and the resulting string is written to standard output (see
! section~\ref{print}) on a line by itself. (Expression statements
! yielding \code{None} are not written, so that procedure calls do not
! cause any output.)
 \ttindex{None}
 \indexii{string}{conversion}
***************
*** 120,124 ****
 \end{productionlist}
 
! (See section \ref{primaries} for the syntax definitions for the last
 three symbols.)
 
--- 120,124 ----
 \end{productionlist}
 
! (See section~\ref{primaries} for the syntax definitions for the last
 three symbols.)
 
***************
*** 135,139 ****
 may raise an exception if the assignment is unacceptable. The rules
 observed by various types and the exceptions raised are given with the
! definition of the object types (see section \ref{types}).
 \index{target}
 \indexii{target}{list}
--- 135,139 ----
 may raise an exception if the assignment is unacceptable. The rules
 observed by various types and the exceptions raised are given with the
! definition of the object types (see section~\ref{types}).
 \index{target}
 \indexii{target}{list}
***************
*** 286,290 ****
 \end{productionlist}
 
! (See section \ref{primaries} for the syntax definitions for the last
 three symbols.)
 
--- 286,290 ----
 \end{productionlist}
 
! (See section~\ref{primaries} for the syntax definitions for the last
 three symbols.)
 
***************
*** 305,309 ****
 statement, the assignment done by augmented assignment statements is handled
 the same way as normal assignments. Similarly, with the exception of the
! possible \emph{in-place} behaviour, the binary operation performed by
 augmented assignment is the same as the normal binary operations.
 
--- 305,309 ----
 statement, the assignment done by augmented assignment statements is handled
 the same way as normal assignments. Similarly, with the exception of the
! possible \emph{in-place} behavior, the binary operation performed by
 augmented assignment is the same as the normal binary operations.
 
***************
*** 380,384 ****
 standard output was not a \keyword{print} statement. (In some cases
 it may be functional to write an empty string to standard output for
! this reason.)
 \index{output}
 \indexii{writing}{values}
--- 380,387 ----
 standard output was not a \keyword{print} statement. (In some cases
 it may be functional to write an empty string to standard output for
! this reason.) \note{Objects which act like file objects but which are
! not the built-in file objects often do not properly emulate this
! aspect of the file object's behavior, so it is best not to rely on
! this.}
 \index{output}
 \indexii{writing}{values}
***************
*** 471,475 ****
 
 If a third object is present, and it is not \code{None}, it should be
! a traceback object (see section \ref{traceback}), and it is
 substituted instead of the current location as the place where the
 exception occurred. This is useful to re-raise an exception
--- 474,478 ----
 
 If a third object is present, and it is not \code{None}, it should be
! a traceback object (see section~\ref{traceback}), and it is
 substituted instead of the current location as the place where the
 exception occurred. This is useful to re-raise an exception

AltStyle によって変換されたページ (->オリジナル) /