def __init__(self, *args, **kw):
        """
        Not much happens here apart from initializing the `parser` attribute.
        Arguments are forwarded to the constructor of the parser class almost
        unchanged.

        The parser class is `FuseOptParse` unless you specify one using the
        ``parser_class`` keyword. (See `FuseOptParse` documentation for
        available options.)
        """

        if not fuse_python_api:
            raise RuntimeError(__name__ + """.fuse_python_api not defined.

! Please define """ + __name__ + """.fuse_python_api internally (eg.
! 
! (1)  """ + __name__ + """.fuse_python_api = """ + repr(FUSE_PYTHON_API_VERSION) + """
! 
! ) or in the enviroment (eg. 
! 
! (2)  FUSE_PYTHON_API=0.1
! 
! ).
!
! If you are actually developing a filesystem, probably (1) is the way to go.
! If you are using a filesystem written before 2007 Q2, probably (2) is what
! you want."
""")

        def malformed():
            raise RuntimeError("malformatted fuse_python_api value " + repr(fuse_python_api))
        if not isinstance(fuse_python_api, tuple):
            malformed()
        for i in fuse_python_api:
            if not isinstance(i, int) or i < 0:
                malformed() 

        if fuse_python_api > FUSE_PYTHON_API_VERSION:
            raise RuntimeError("""
! You require FUSE-Python API version """ + repr(fuse_python_api) + """.
! However, the latest available is """ + repr(FUSE_PYTHON_API_VERSION) + """.
""")

        self.fuse_args = \
            'fuse_args' in kw and kw.pop('fuse_args') or FuseArgs()

        if get_compat_0_1():
            return self.__init_0_1__(*args, **kw)

        self.multithreaded = True

        if not 'usage' in kw:
            kw['usage'] = self.fusage
        if not 'fuse_args' in kw:
            kw['fuse_args'] = self.fuse_args
        kw['fuse'] = self
        parserclass = \
          'parser_class' in kw and kw.pop('parser_class') or FuseOptParse

        self.parser = parserclass(*args, **kw)
        self.methproxy = self.Methproxy()
def __init__ ( self , * args , ** kw ) : if not fuse_python_api : raise RuntimeError ( __name__ + """.fuse_python_api not defined.
! Please define """ + __name__ + """.fuse_python_api internally (eg.
! 
! (1)  """ + __name__ + """.fuse_python_api = """ + repr ( FUSE_PYTHON_API_VERSION ) + """
! 
! ) or in the enviroment (eg. 
! 
! (2)  FUSE_PYTHON_API=0.1
! 
! ).
!
! If you are actually developing a filesystem, probably (1) is the way to go.
! If you are using a filesystem written before 2007 Q2, probably (2) is what
! you want."
""" ) def malformed ( ) : raise RuntimeError ( "malformatted fuse_python_api value " + repr ( fuse_python_api ) ) if not isinstance ( fuse_python_api , tuple ) : malformed ( ) for i in fuse_python_api : if not isinstance ( i , int ) or i < 0 : malformed ( ) if fuse_python_api > FUSE_PYTHON_API_VERSION : raise RuntimeError ( """
! You require FUSE-Python API version """ + repr ( fuse_python_api ) + """.
! However, the latest available is """ + repr ( FUSE_PYTHON_API_VERSION ) + """.
""" ) self . fuse_args = 'fuse_args' in kw and kw . pop ( 'fuse_args' ) or FuseArgs ( ) if get_compat_0_1 ( ) : return self . __init_0_1__ ( * args , ** kw ) self . multithreaded = True if not 'usage' in kw : kw [ 'usage' ] = self . fusage if not 'fuse_args' in kw : kw [ 'fuse_args' ] = self . fuse_args kw [ 'fuse' ] = self parserclass = 'parser_class' in kw and kw . pop ( 'parser_class' ) or FuseOptParse self . parser = parserclass ( * args , ** kw ) self . methproxy = self . Methproxy ( )
Not much happens here apart from initializing the `parser` attribute.
        Arguments are forwarded to the constructor of the parser class almost
        unchanged.

        The parser class is `FuseOptParse` unless you specify one using the
        ``parser_class`` keyword. (See `FuseOptParse` documentation for
        available options.)