Lines Matching defs:sys
12 import sys
109 if sys.platform == "linux":
111 if hasattr(sys, 'getandroidapilevel'):
342 # manipulated sys.modules, causing this module to be
346 # sys.modules with a copy created earlier. See issues
407 # Close sys.stdin and replace stdin with os.devnull
411 if sys.stdin is None:
415 sys.stdin.close()
422 sys.stdin = open(fd, encoding="utf-8", closefd=False)
435 sys.stdout.flush()
439 sys.stderr.flush()