Kaydet (Commit) 33f785fc authored tarafından Barry Warsaw's avatar Barry Warsaw

Document "print >> None"

üst 9182b45a
......@@ -338,9 +338,10 @@ print_stmt: '>>' expression [ (',' expression)+ [','] ] )
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}.
\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}}
\stindex{return}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment