def __repr__(self):
        """
        Get a name representing the mechanism; always safe to call
        """
        base = "<Mechanism (%s)>" % self.dotted_form
        if rfc5801 is not None:
            base = "<Mechanism %s (%s)>" % (
                self._saslname.mech_name.decode('UTF-8'),
                self.dotted_form
            )

        return base
def __repr__ ( self ) : base = "<Mechanism (%s)>" % self . dotted_form if rfc5801 is not None : base = "<Mechanism %s (%s)>" % ( self . _saslname . mech_name . decode ( 'UTF-8' ) , self . dotted_form ) return base
Get a name representing the mechanism; always safe to call