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

Method logout

tools/python-3.11.9-amd64/Lib/imaplib.py:634–644  ·  view source on GitHub ↗

Shutdown connection to server. (typ, [data]) = .logout() Returns server 'BYE' response.

(self)

Source from the content-addressed store, hash-verified

632
633
634 def logout(self):
635 """Shutdown connection to server.
636
637 (typ, [data]) = <instance>.logout()
638
639 Returns server 'BYE' response.
640 """
641 self.state = 'LOGOUT'
642 typ, dat = self._simple_command('LOGOUT')
643 self.shutdown()
644 return typ, dat
645
646
647 def lsub(self, directory='""', pattern='*'):

Callers 1

__exit__Method · 0.95

Calls 2

_simple_commandMethod · 0.95
shutdownMethod · 0.95

Tested by

no test coverage detected