mirror of
https://github.com/python/cpython.git
synced 2026-02-21 22:50:55 +00:00
the C code, using pipe2() when available. Adds unittests for close_fds and cloexec behaviors.
7 lines
129 B
Python
7 lines
129 B
Python
"""When called as a script, consumes the input"""
|
|
|
|
import sys
|
|
|
|
if __name__ = "__main__":
|
|
for line in sys.stdin:
|
|
pass
|