(self)
return self.sock
Return socket instance used to connect to IMAP4 server.

        socket = <instance>.socket()
Return socket instance used to connect to IMAP4 server.
Return socket instance used to connect to IMAP4 server .
def socket(self):
        """Return socket instance used to connect to IMAP4 server.

        socket = <instance>.socket()
        """
        return self.sock
def socket ( self ) : return self . sock