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

Method stat

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

Get mailbox status. Result is tuple of 2 ints (message count, mailbox size)

(self)

Source from the content-addressed store, hash-verified

219
220
221 def stat(self):
222 """Get mailbox status.
223
224 Result is tuple of 2 ints (message count, mailbox size)
225 """
226 retval = self._shortcmd('STAT')
227 rets = retval.split()
228 if self._debugging: print('*stat*', repr(rets))
229 numMessages = int(rets[1])
230 sizeMessages = int(rets[2])
231 return (numMessages, sizeMessages)
232
233
234 def list(self, which=None):

Callers 15

_copy_archiveFunction · 0.45
_fwalkFunction · 0.45
compile_fileFunction · 0.45
poplib.pyFile · 0.45
synopsisFunction · 0.45
_samefileFunction · 0.45
_statFunction · 0.45
copystatFunction · 0.45
_copytreeFunction · 0.45
_rmtree_isdirFunction · 0.45
_rmtree_safe_fdFunction · 0.45
make_archiveFunction · 0.45

Calls 3

_shortcmdMethod · 0.95
printFunction · 0.50
splitMethod · 0.45