MCPcopy Index your code
hub / github.com/RustPython/RustPython / print_log

Method print_log

Lib/imaplib.py:1410–1421  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1408 self._cmd_log_idx = 0
1409
1410 def print_log(self):
1411 self._mesg('last %d IMAP4 interactions:' % len(self._cmd_log))
1412 i, n = self._cmd_log_idx, self._cmd_log_len
1413 while n:
1414 try:
1415 self._mesg(*self._cmd_log[i])
1416 except:
1417 pass
1418 i += 1
1419 if i >= self._cmd_log_len:
1420 i = 0
1421 n -= 1
1422
1423
1424class Idler:

Callers 1

_get_tagged_responseMethod · 0.95

Calls 2

_mesgMethod · 0.95
lenFunction · 0.85

Tested by

no test coverage detected