parameters: (self, directory='""', pattern='*')
return_statement: return self._untagged_response(typ, dat, name)
docstring: List mailbox names in directory matching pattern.
  
          (typ, [data]) = <instance>.list(directory='""', pattern='*')
  
          'data' is list of LIST responses.
docstring_summary: List mailbox names in directory matching pattern.
docstring_tokens: List mailbox names in directory matching pattern .
function: 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)
function_tokens: def list ( self , directory = '""' , pattern = '*' ) : name = 'LIST' typ , dat = self . _simple_command ( name , directory , pattern ) return self . _untagged_response ( typ , dat , name )