[Python-checkins] CVS: python/dist/src/Doc/ref ref6.tex,1.30,1.31
Barry Warsaw
python-dev@python.org
Mon, 28 Aug 2000 21:57:36 -0700
Update of /cvsroot/python/python/dist/src/Doc/ref
In directory slayer.i.sourceforge.net:/tmp/cvs-serv31753
Modified Files:
ref6.tex
Log Message:
Document "print >> None"
Index: ref6.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref6.tex,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -r1.30 -r1.31
*** ref6.tex 2000/08/21 15:45:16 1.30
--- ref6.tex 2000/08/29 04:57:34 1.31
***************
*** 339,345 ****
In this form, the first expression after the \keyword{>>} must
evaluate to a ``file-like'' object, specifically an object that has a
! \method{write()} method as described above. With the extended form,
! the subsequent expressions are printed to this file-like object
! instead of \code{sys.stdout}.
\section{The \keyword{return} statement \label{return}}
--- 339,346 ----
In this form, the first expression after the \keyword{>>} must
evaluate to a ``file-like'' object, specifically an object that has a
! \method{write()} method as described above. With this extended form,
! the subsequent expressions are printed to this file object. If the
! first expression evaluates to \code{None}, then \code{sys.stdout} is
! used as the file for output.
\section{The \keyword{return} statement \label{return}}