bug #1444104: add note about fdopen() to os.open().

This commit is contained in:
Georg Brandl 2006-03-31 19:20:13 +00:00
parent d49be30938
commit b88e19c1fc
1 changed files with 2 additions and 1 deletions

View 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}