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

Method list

tools/python-3.11.9-amd64/Lib/poplib.py:234–245  ·  view source on GitHub ↗

Request listing, return result. Result without a message number argument is in form ['response', ['mesg_num octets', ...], octets]. Result when a message number argument is given is a single response: the "scan listing" for that message.

(self, which=None)

Source from the content-addressed store, hash-verified

232
233
234 def list(self, which=None):
235 """Request listing, return result.
236
237 Result without a message number argument is in form
238 ['response', ['mesg_num octets', ...], octets].
239
240 Result when a message number argument is given is a
241 single response: the "scan listing" for that message.
242 """
243 if which is not None:
244 return self._shortcmd('LIST %s' % which)
245 return self._longcmd('LIST')
246
247
248 def retr(self, which):

Callers 1

poplib.pyFile · 0.45

Calls 2

_shortcmdMethod · 0.95
_longcmdMethod · 0.95

Tested by

no test coverage detected