Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ cmd_echo
Method
cmd_echo
Lib/test/test_poplib.py:89–91 ·
view source on GitHub ↗
(self, arg)
Source
from the content-addressed store, hash-verified
87
asynchat.async_chat.push(self, data.encode(
"ISO-8859-1"
) + b
'\r\n'
)
88
89
def
cmd_echo(self, arg):
90
# sends back the received string (used by the test suite)
91
self.push(arg)
92
93
def
cmd_user(self, arg):
94
if
arg !=
"guido"
:
Callers
nothing calls this directly
Calls
1
push
Method · 0.95
Tested by
no test coverage detected