From: Thomas Heller Date: Thu, 7 Nov 2002 16:33:44 +0000 (+0000) Subject: Document the changed fdopen behaviour. X-Git-Tag: v2.3c1~3530 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b470e0a3aa0ad4da38b603d88b90a3018cfa131;p=thirdparty%2FPython%2Fcpython.git Document the changed fdopen behaviour. (Hope the markup is ok). --- diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index 2b4728c9b500..fa9f0f386609 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -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()} function. 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} \begin{funcdesc}{popen}{command\optional{, mode\optional{, bufsize}}}