mirror of https://github.com/python/cpython
Document the changed fdopen behaviour.
(Hope the markup is ok).
This commit is contained in:
parent
95cb7e4ae5
commit
5b470e0a3a
|
@ -298,6 +298,10 @@ The \var{mode} and \var{bufsize} arguments have the same meaning as
|
||||||
the corresponding arguments to the built-in \function{open()}
|
the corresponding arguments to the built-in \function{open()}
|
||||||
function.
|
function.
|
||||||
Availability: Macintosh, \UNIX, Windows.
|
Availability: Macintosh, \UNIX, Windows.
|
||||||
|
|
||||||
|
\versionchanged[When specified, the \var{mode} argument must now start
|
||||||
|
with one of the letters \code{'r'}, \code{'w'}, or \code{'a'},
|
||||||
|
otherwise a \exception{ValueError} is raised. ]{2.3}
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{popen}{command\optional{, mode\optional{, bufsize}}}
|
\begin{funcdesc}{popen}{command\optional{, mode\optional{, bufsize}}}
|
||||||
|
|
Loading…
Reference in New Issue