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

Method _log

tools/python-3.11.9-amd64/Lib/imaplib.py:1261–1266  ·  view source on GitHub ↗
(self, line)

Source from the content-addressed store, hash-verified

1259 self._mesg('untagged responses dump:' + '\n\t\t'.join(items))
1260
1261 def _log(self, line):
1262 # Keep log of last `_cmd_log_len' interactions for debugging.
1263 self._cmd_log[self._cmd_log_idx] = (line, time.time())
1264 self._cmd_log_idx += 1
1265 if self._cmd_log_idx >= self._cmd_log_len:
1266 self._cmd_log_idx = 0
1267
1268 def print_log(self):
1269 self._mesg('last %d IMAP4 interactions:' % len(self._cmd_log))

Callers 2

_commandMethod · 0.95
_get_lineMethod · 0.95

Calls 1

timeMethod · 0.45

Tested by

no test coverage detected