MCPcopy Index your code
hub / github.com/python/cpython / _format_pipe

Function _format_pipe

Lib/asyncio/base_events.py:82–88  ·  view source on GitHub ↗
(fd)

Source from the content-addressed store, hash-verified

80
81
82def _format_pipe(fd):
83 if fd == subprocess.PIPE:
84 return '<pipe>'
85 elif fd == subprocess.STDOUT:
86 return '<stdout>'
87 else:
88 return repr(fd)
89
90
91def _set_reuseport(sock):

Callers 1

_log_subprocessMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…