]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Document the changed fdopen behaviour.
authorThomas Heller <theller@ctypes.org>
Thu, 7 Nov 2002 16:33:44 +0000 (16:33 +0000)
committerThomas Heller <theller@ctypes.org>
Thu, 7 Nov 2002 16:33:44 +0000 (16:33 +0000)
(Hope the markup is ok).

Doc/lib/libos.tex

index 2b4728c9b5001678a72f4e52c32a106f45a45426..fa9f0f3866092ebf26cecfb1e0c35c3a6d83962f 100644 (file)
@@ -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}}}