(self, name)
return self.attributes[name].priority
Return the current numerical priority value of a setting, or ``None`` if
        the given ``name`` does not exist.

        :param name: the setting name
        :type name: str
Return the current numerical priority value of a setting, or ``None`` if
        the given ``name`` does not exist.
Return the current numerical priority value of a setting or None if the given name does not exist .
def getpriority(self, name):
        """
        Return the current numerical priority value of a setting, or ``None`` if
        the given ``name`` does not exist.

        :param name: the setting name
        :type name: str
        """
        if name not in self:
            return None
        return self.attributes[name].priority
def getpriority ( self , name ) : if name not in self : return None return self . attributes [ name ] . priority