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

Method top

Lib/poplib.py:352–358  ·  view source on GitHub ↗

Retrieve message header of message number 'which' and first 'howmuch' lines of message body. Result is in form ['response', ['line', ...], octets].

(self, which, howmuch)

Source from the content-addressed store, hash-verified

350
351
352 def top(self, which, howmuch):
353 """Retrieve message header of message number 'which'
354 and first 'howmuch' lines of message body.
355
356 Result is in form ['response', ['line', ...], octets].
357 """
358 return self._longcmd('TOP %s %s' % (which, howmuch))
359
360
361 def uidl(self, which=None):

Callers

nothing calls this directly

Calls 1

_longcmdMethod · 0.95

Tested by

no test coverage detected