From de02b084e6e5c57be32414da87111679a89049f7 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Fri, 9 Sep 2016 11:46:37 -0700 Subject: [PATCH] Closes #22731: Documents change of console mode. --- Doc/c-api/init.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 639819ce29a..e78ddae7085 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -37,6 +37,10 @@ Initializing and finalizing the interpreter (without calling :c:func:`Py_Finalize` first). There is no return value; it is a fatal error if the initialization fails. + .. note:: + On Windows, changes the console mode from ``O_TEXT`` to ``O_BINARY``, which will + also affect non-Python uses of the console using the C Runtime. + .. c:function:: void Py_InitializeEx(int initsigs)