Skip to content
Snippets Groups Projects
  • Hans Fangohr's avatar
    ac7d45a0
    minor modification · ac7d45a0
    Hans Fangohr authored
    - sys.__stdout__ is the value stdout had at the beginning of the Python program.
    - instead, let's reconnect to the stdout stream we used immediately before we
      redirected into the StringIO object. This should be (mildly) more robust.
    ac7d45a0
    History
    minor modification
    Hans Fangohr authored
    - sys.__stdout__ is the value stdout had at the beginning of the Python program.
    - instead, let's reconnect to the stdout stream we used immediately before we
      redirected into the StringIO object. This should be (mildly) more robust.