def shorten(self, text):
        """Shortens text to fit into the :attr:`width`."""
        if len(text) > self.width:
            return text[:3 - self.width] + '...'
        return text
dataset/ETHPy150Open Rapptz/discord.py/discord/ext/commands/formatter.py/HelpFormatter.shorten/swapped operands of `-`