summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-04-14 19:16:38 (GMT)
committerGeorg Brandl <georg@python.org>2010-04-14 19:16:38 (GMT)
commit4a589c3ede31aa3ec0022f3fecdc89a854af2801 (patch)
tree90f5496c01f21d4855b798e03ea4c8bd15fa1f9e /Doc
parentb6c1aeb48647423eb893aa0d0bf1a444747ca7fd (diff)
downloadcpython-4a589c3ede31aa3ec0022f3fecdc89a854af2801.zip
cpython-4a589c3ede31aa3ec0022f3fecdc89a854af2801.tar.gz
cpython-4a589c3ede31aa3ec0022f3fecdc89a854af2801.tar.bz2
#8399: add note about Windows and O_BINARY.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/os.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 0c2cab7..e5e00d0 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -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::