parameters: (self, path, factory=None, create=True)
docstring: Initialize an MH instance.
docstring_summary: Initialize an MH instance.
docstring_tokens: Initialize an MH instance .
function: def __init__(self, path, factory=None, create=True):
          """Initialize an MH instance."""
          Mailbox.__init__(self, path, factory, create)
          if not os.path.exists(self._path):
              if create:
                  os.mkdir(self._path, 0o700)
                  os.close(os.open(os.path.join(self._path, '.mh_sequences'),
                                   os.O_CREAT | os.O_EXCL | os.O_WRONLY, 0o600))
              else:
                  raise NoSuchMailboxError(self._path)
          self._locked = False
function_tokens: def __init__ ( self , path , factory = None , create = True ) : Mailbox . __init__ ( self , path , factory , create ) if not os . path . exists ( self . _path ) : if create : os . mkdir ( self . _path , 0o700 ) os . close ( os . open ( os . path . join ( self . _path , '.mh_sequences' ) , os . O_CREAT | os . O_EXCL | os . O_WRONLY , 0o600 ) ) else : raise NoSuchMailboxError ( self . _path ) self . _locked = False