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

Method list

Lib/poplib.py:247–258  ·  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

245
246
247 def list(self, which=None):
248 """Request listing, return result.
249
250 Result without a message number argument is in form
251 ['response', ['mesg_num octets', ...], octets].
252
253 Result when a message number argument is given is a
254 single response: the "scan listing" for that message.
255 """
256 if which is not None:
257 return self._shortcmd('LIST %s' % which)
258 return self._longcmd('LIST')
259
260
261 def retr(self, which):

Callers 15

poplib.pyFile · 0.45
test_repr_lockMethod · 0.45
test_repr_rlockMethod · 0.45
DummyListMethod · 0.45
test_listMethod · 0.45
test_list_isinstanceMethod · 0.45
test_list_iterMethod · 0.45
test_nested_queueMethod · 0.45
test_listMethod · 0.45

Calls 2

_shortcmdMethod · 0.95
_longcmdMethod · 0.95

Tested by 15

test_repr_lockMethod · 0.36
test_repr_rlockMethod · 0.36
DummyListMethod · 0.36
test_listMethod · 0.36
test_list_isinstanceMethod · 0.36
test_list_iterMethod · 0.36
test_nested_queueMethod · 0.36
test_listMethod · 0.36
test_listMethod · 0.36