Next / Previous / Contents / Shipman's homepage

9.9. LinkInfo.__init__(): Constructor

This constructor first calls the parent class's constructor, then stores away the basePath argument within the instance.

softlinks.py
# - - -   L i n k I n f o . _ _ i n i t _ _   - - -

    def __init__ ( self, path, basePath ):
        """Constructor for LinkInfo."""

        #-- 1 --
        pathinfo.PathInfo.__init__ ( self, path )

        #-- 2 --
        self.__basePath  =  basePath