summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-03-31 19:20:13 +0000
committerGeorg Brandl <georg@python.org>2006-03-31 19:20:13 +0000
commitb88e19c1fc182a97b961633c29f485c2de6ad525 (patch)
treef951f840dfdb5bff47a96ca6f002932d71384b06
parentd49be309380444e7b0b812ffae115c2e24876e86 (diff)
downloadcpython-git-b88e19c1fc182a97b961633c29f485c2de6ad525.tar.gz
bug #1444104: add note about fdopen() to os.open().
-rw-r--r--Doc/lib/libos.tex3
1 files changed, 2 insertions, 1 deletions
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}