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