]> granicus.if.org Git - python/commitdiff
bug #1444104: add note about fdopen() to os.open().
authorGeorg Brandl <georg@python.org>
Fri, 31 Mar 2006 19:20:13 +0000 (19:20 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 31 Mar 2006 19:20:13 +0000 (19:20 +0000)
Doc/lib/libos.tex

index 8c4b7709400ad545a6fba20498a6eca8a584b14b..a9100a1a82e02cb56d17b391b94b11711694d071 100644 (file)
@@ -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}