pylint/message/message_store.py
def get_msg_display_string(self, msgid):
        """Generates a user-consumable representation of a message.

        Can be just the message ID or the ID and the symbol.
        """
        message_definitions = self.get_message_definitions(msgid)
        if len(message_definitions) == 1:
            return repr(message_definitions[0].symbol)
        return repr([md.symbol for md in message_definitions])
def get_msg_display_string(self, msgid):
        message_definitions = self.get_message_definitions(msgid)
        if len(message_definitions) == 1:
            return repr(message_definitions[0].symbol)
        return repr([md.symbol for md in message_definitions])
def get_msg_display_string ( self , msgid ) : message_definitions = self . get_message_definitions ( msgid ) if len ( message_definitions ) == 1 : return repr ( message_definitions [ 0 ] . symbol ) return repr ( [ md . symbol for md in message_definitions ] )
Generates a user-consumable representation of a message.

        Can be just the message ID or the ID and the symbol.
Generates a user - consumable representation of a message .