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_ftplib.py:188–190 ·
view source on GitHub ↗
(self, arg)
Source
from the content-addressed store, hash-verified
186
self.dtp = self.dtp_handler(conn, baseclass=self)
187
188
def
cmd_echo(self, arg):
189
# sends back the received string (used by the test suite)
190
self.push(arg)
191
192
def
cmd_noop(self, arg):
193
self.push(
'200 noop ok'
)
Callers
nothing calls this directly
Calls
1
push
Method · 0.95
Tested by
no test coverage detected