PyFunceble/publicsuffix.py
def load(self):
        """
        Load the public suffix database into the system.
        """

        if not PyFunceble.INTERN["psl_db"]:
            # The public database was not already loaded.

            # * We read, convert to dict and return the file content.
            # and
            # * We fill/create the database.
            PyFunceble.INTERN["psl_db"] = Dict().from_json(
                File(self.destination).read()
            )
def load(self):
        if not PyFunceble.INTERN["psl_db"]:
            # The public database was not already loaded.

            # * We read, convert to dict and return the file content.
            # and
            # * We fill/create the database.
            PyFunceble.INTERN["psl_db"] = Dict().from_json(
                File(self.destination).read()
            )
def load ( self ) : if not PyFunceble . INTERN [ "psl_db" ] : # The public database was not already loaded. # * We read, convert to dict and return the file content. # and # * We fill/create the database. PyFunceble . INTERN [ "psl_db" ] = Dict ( ) . from_json ( File ( self . destination ) . read ( ) )
Load the public suffix database into the system.
Load the public suffix database into the system .