Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ __exit__
Method
__exit__
Lib/imaplib.py:284–291 ·
view source on GitHub ↗
(self, *args)
Source
from the content-addressed store, hash-verified
282
return
self
283
284
def
__exit__(self, *args):
285
if
self.state ==
"LOGOUT"
:
286
return
287
288
try
:
289
self.logout()
290
except
OSError:
291
pass
292
293
294
# Overridable methods
Callers
nothing calls this directly
Calls
1
logout
Method · 0.95
Tested by
no test coverage detected