mirror of
https://github.com/python/cpython.git
synced 2026-01-24 16:18:45 +00:00
#8399: add note about Windows and O_BINARY.
This commit is contained in:
parent
b6c1aeb486
commit
4a589c3ede
1 changed files with 2 additions and 1 deletions
|
|
@ -662,7 +662,8 @@ as internal buffering of data.
|
|||
|
||||
For a description of the flag and mode values, see the C run-time documentation;
|
||||
flag constants (like :const:`O_RDONLY` and :const:`O_WRONLY`) are defined in
|
||||
this module too (see :ref:`open-constants`).
|
||||
this module too (see :ref:`open-constants`). In particular, on Windows adding
|
||||
:const:`O_BINARY` is needed to open files in binary mode.
|
||||
|
||||
.. note::
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue