bug #1444104: add note about fdopen() to os.open().
This commit is contained in:
parent
d49be30938
commit
b88e19c1fc
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in New Issue