MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _putcmd

Method _putcmd

tools/python-3.11.9-amd64/Lib/poplib.py:122–125  ·  view source on GitHub ↗
(self, line)

Source from the content-addressed store, hash-verified

120 # Internal: send one command to the server (through _putline())
121
122 def _putcmd(self, line):
123 if self._debugging: print('*cmd*', repr(line))
124 line = bytes(line, self.encoding)
125 self._putline(line)
126
127
128 # Internal: return one line from the server, stripping CRLF.

Callers 2

_shortcmdMethod · 0.95
_longcmdMethod · 0.95

Calls 2

_putlineMethod · 0.95
printFunction · 0.50

Tested by

no test coverage detected