MCPcopy Index your code
hub / github.com/python/cpython / putcmd

Method putcmd

Lib/ftplib.py:205–207  ·  view source on GitHub ↗
(self, line)

Source from the content-addressed store, hash-verified

203
204 # Internal: send one command to the server (through putline())
205 def putcmd(self, line):
206 if self.debugging: print('*cmd*', self.sanitize(line))
207 self.putline(line)
208
209 # Internal: return one line from the server, stripping CRLF.
210 # Raise EOFError if the connection is closed

Callers 2

sendcmdMethod · 0.95
voidcmdMethod · 0.95

Calls 2

sanitizeMethod · 0.95
putlineMethod · 0.95

Tested by

no test coverage detected