Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit de02b08

Browse files
committed
Closes #22731: Documents change of console mode.
1 parent 2fadfc0 commit de02b08

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Doc/c-api/init.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ Initializing and finalizing the interpreter
3737
(without calling :c:func:`Py_Finalize` first). There is no return value; it is a
3838
fatal error if the initialization fails.
3939

40+
.. note::
41+
On Windows, changes the console mode from ``O_TEXT`` to ``O_BINARY``, which will
42+
also affect non-Python uses of the console using the C Runtime.
43+
4044

4145
.. c:function:: void Py_InitializeEx(int initsigs)
4246

0 commit comments

Comments
 (0)