1. python_mirrors
  2. sandbox/brian


Guido van Rossum  committed 7c3bea0

Clarify that close() of a stream opened by popen() returns None if the
exit status is zero.

  • Participants
  • Parent commits a6808bc
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Doc/lib/libposix.tex

View file
 argument to the built-in \function{open()} function.  The exit status of
 the command (encoded in the format specified for \function{wait()}) is
 available as the return value of the \method{close()} method of the file
+object, except that when the exit status is zero (termination without
+errors), \code{None} is returned.
 (Not on MS-DOS.)