(self, directory='""', pattern='*')
return self._untagged_response(typ, dat, name)
List mailbox names in directory matching pattern.

        (typ, [data]) = <instance>.list(directory='""', pattern='*')

        'data' is list of LIST responses.
List mailbox names in directory matching pattern.
List mailbox names in directory matching pattern .
def list(self, directory='""', pattern='*'):
        """List mailbox names in directory matching pattern.

        (typ, [data]) = <instance>.list(directory='""', pattern='*')

        'data' is list of LIST responses.
        """
        name = 'LIST'
        typ, dat = self._simple_command(name, directory, pattern)
        return self._untagged_response(typ, dat, name)
def list ( self , directory = '""' , pattern = '*' ) : name = 'LIST' typ , dat = self . _simple_command ( name , directory , pattern ) return self . _untagged_response ( typ , dat , name )