summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-03-31 19:20:13 (GMT)
committerGeorg Brandl <georg@python.org>2006-03-31 19:20:13 (GMT)
commitb88e19c1fc182a97b961633c29f485c2de6ad525 (patch)
treef951f840dfdb5bff47a96ca6f002932d71384b06 /Doc
parentd49be309380444e7b0b812ffae115c2e24876e86 (diff)
downloadcpython-b88e19c1fc182a97b961633c29f485c2de6ad525.zip
cpython-b88e19c1fc182a97b961633c29f485c2de6ad525.tar.gz
cpython-b88e19c1fc182a97b961633c29f485c2de6ad525.tar.bz2
bug #1444104: add note about fdopen() to os.open().
Diffstat (limited to 'Doc')
-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 8c4b770..a9100a1 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}