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

Method _shortcmd

tools/python-3.11.9-amd64/Lib/nntplib.py:539–543  ·  view source on GitHub ↗

Internal: send a command and get the response. Same return value as _getresp().

(self, line)

Source from the content-addressed store, hash-verified

537 return resp, lines
538
539 def _shortcmd(self, line):
540 """Internal: send a command and get the response.
541 Same return value as _getresp()."""
542 self._putcmd(line)
543 return self._getresp()
544
545 def _longcmd(self, line, file=None):
546 """Internal: send a command and get the response plus following text.

Callers 9

groupMethod · 0.95
_statcmdMethod · 0.95
slaveMethod · 0.95
dateMethod · 0.95
_postMethod · 0.95
quitMethod · 0.95
loginMethod · 0.95
_setreadermodeMethod · 0.95
starttlsMethod · 0.95

Calls 2

_putcmdMethod · 0.95
_getrespMethod · 0.95

Tested by

no test coverage detected