@property
    def max_name_size(self):
        """int : Returns the largest name length of a command or if it has subcommands
        the largest subcommand name."""
        try:
            commands = self.command.commands if not self.is_cog() else self.context.bot.commands
            if commands:
                return max(map(lambda c: len(c.name), commands.values()))
            return 0
        except __HOLE__:
            return len(self.command.name)
dataset/ETHPy150Open Rapptz/discord.py/discord/ext/commands/formatter.py/HelpFormatter.max_name_size