circuitpython/tests/cpydiff/modules_sys_stdassign.py
2021-03-15 19:27:36 +05:30

11 lines
216 B
Python

"""
categories: Modules,sys
description: Overriding sys.stdin, sys.stdout and sys.stderr not possible
cause: They are stored in read-only memory.
workaround: Unknown
"""
import sys
sys.stdin = None
print(sys.stdin)