Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ get_command_stdout
Function
get_command_stdout
Lib/test/test_uuid.py:31–32 ·
view source on GitHub ↗
(command, args)
Source
from the content-addressed store, hash-verified
29
30
def
mock_get_command_stdout(data):
31
def
get_command_stdout(command, args):
32
return
io.BytesIO(data.encode())
33
return
get_command_stdout
34
35
Callers
1
main
Method · 0.85
Calls
1
encode
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…