Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-websockets/websockets
/ remove_commands_and_prompts
Function
remove_commands_and_prompts
tests/test_cli.py:19–20 ·
view source on GitHub ↗
(output)
Source
from the content-addressed store, hash-verified
17
18
19
def
remove_commands_and_prompts(output):
20
return
vt100_commands.sub(
""
, output).replace(
"> "
,
""
)
21
22
23
def
add_connection_messages(output, server_uri):
Callers
4
test_receive_text_message
Method · 0.85
test_receive_binary_message
Method · 0.85
test_send_message
Method · 0.85
test_close_connection
Method · 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…