From: Georg Brandl Date: Fri, 31 Mar 2006 19:20:13 +0000 (+0000) Subject: bug #1444104: add note about fdopen() to os.open(). X-Git-Tag: v2.5a1~114 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b88e19c1fc182a97b961633c29f485c2de6ad525;p=python bug #1444104: add note about fdopen() to os.open(). --- diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index 8c4b770940..a9100a1a82 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -547,7 +547,8 @@ documentation; flag constants (like \constant{O_RDONLY} and This function is intended for low-level I/O. For normal usage, use the built-in function \function{open()}, which returns a ``file object'' with \method{read()} and \method{write()} methods (and many -more). +more). To wrap a file descriptor in a ``file object'', use +\function{fdopen()}. \end{notice} \end{funcdesc}