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

Method _check_bye

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

Source from the content-addressed store, hash-verified

1076
1077
1078 def _check_bye(self):
1079 bye = self.untagged_responses.get('BYE')
1080 if bye:
1081 raise self.abort(bye[-1].decode(self._encoding, 'replace'))
1082
1083
1084 def _command(self, name, *args):

Callers 2

_command_completeMethod · 0.95
_get_tagged_responseMethod · 0.95

Calls 3

getMethod · 0.45
abortMethod · 0.45
decodeMethod · 0.45

Tested by

no test coverage detected