Skip to content
Snippets Groups Projects
Select Git revision
  • 86c7507233929366ff17c9666200a33123491a8e
  • wip-bootstrap default
  • dualcore
  • ch3/leds
  • ch3/time
  • master
6 results

modules_sys_stdassign.py

Blame
  • modules_sys_stdassign.py 223 B
    """
    categories: Modules,sys
    description: Override sys.stdin, sys.stdout and sys.stderr. Impossible as they are stored in read-only memory.
    cause: Unknown
    workaround: Unknown
    """
    import sys
    sys.stdin = None
    print(sys.stdin)