MCPcopy Index your code
hub / github.com/RustPython/RustPython / logout

Method logout

Lib/imaplib.py:739–749  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

737
738
739 def logout(self):
740 """Shutdown connection to server.
741
742 (typ, [data]) = <instance>.logout()
743
744 Returns server 'BYE' response.
745 """
746 self.state = 'LOGOUT'
747 typ, dat = self._simple_command('LOGOUT')
748 self.shutdown()
749 return typ, dat
750
751
752 def lsub(self, directory='""', pattern='*'):

Callers 5

__exit__Method · 0.95
test_logoutMethod · 0.80
reaped_pairMethod · 0.80

Calls 2

_simple_commandMethod · 0.95
shutdownMethod · 0.95

Tested by 4

test_logoutMethod · 0.64
reaped_pairMethod · 0.64