micropython/tests/cpydiff/modules_sys_stdassign.py

11 wiersze
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)