mirror of
https://github.com/python/cpython.git
synced 2026-05-09 06:01:08 -04:00
51ee270876
the C code, using pipe2() when available. Adds unittests for close_fds and cloexec behaviors.
8 lines
129 B
Python
8 lines
129 B
Python
"""When called as a script, consumes the input"""
|
|
|
|
import sys
|
|
|
|
if __name__ = "__main__":
|
|
for line in sys.stdin:
|
|
pass
|