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

Method top

tools/python-3.11.9-amd64/Lib/poplib.py:339–345  ·  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

337
338
339 def top(self, which, howmuch):
340 """Retrieve message header of message number 'which'
341 and first 'howmuch' lines of message body.
342
343 Result is in form ['response', ['line', ...], octets].
344 """
345 return self._longcmd('TOP %s %s' % (which, howmuch))
346
347
348 def uidl(self, which=None):

Callers

nothing calls this directly

Calls 1

_longcmdMethod · 0.95

Tested by

no test coverage detected