Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Doc/library/sys.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2180,6 +2180,10 @@ always available. Unless explicitly noted otherwise, all variables are read-only
may be replaced with file-like objects like :class:`io.StringIO` which
do not support the :attr:`!buffer` attribute.

At interpreter shutdown, the ``stdout`` and ``stderr`` streams are
flushed, so objects used to replace them should provide a ``flush()``
method.


.. data:: __stdin__
__stdout__
Expand Down
Loading