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

Method __exit__

Lib/imaplib.py:281–288  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

279 return self
280
281 def __exit__(self, *args):
282 if self.state == "LOGOUT":
283 return
284
285 try:
286 self.logout()
287 except OSError:
288 pass
289
290
291 # Overridable methods

Callers

nothing calls this directly

Calls 1

logoutMethod · 0.95

Tested by

no test coverage detected