[Python-checkins] r80080 - python/trunk/Doc/library/os.rst

georg.brandl python-checkins at python.org
Wed Apr 14 21:16:38 CEST 2010


Author: georg.brandl
Date: Wed Apr 14 21:16:38 2010
New Revision: 80080

Log:
#8399: add note about Windows and O_BINARY.

Modified:
   python/trunk/Doc/library/os.rst

Modified: python/trunk/Doc/library/os.rst
==============================================================================
--- python/trunk/Doc/library/os.rst	(original)
+++ python/trunk/Doc/library/os.rst	Wed Apr 14 21:16:38 2010
@@ -662,7 +662,8 @@
 
    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::
 


More information about the Python-checkins mailing list