From c557ee33caae30c84163919bd740259ab0200654 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Tue, 7 Aug 2018 14:24:14 +0200 Subject: [lint] Fix types used for __slots__ and __all__ Stay consistent with the rest of the library and use lists for module __all__ values and tuples for class __slots__ attributes. --- discord/channel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/channel.py') diff --git a/discord/channel.py b/discord/channel.py index adaefc06..f737b987 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -36,7 +36,7 @@ import discord.abc import time import asyncio -__all__ = ('TextChannel', 'VoiceChannel', 'DMChannel', 'CategoryChannel', 'GroupChannel', '_channel_factory') +__all__ = ['TextChannel', 'VoiceChannel', 'DMChannel', 'CategoryChannel', 'GroupChannel', '_channel_factory'] async def _single_delete_strategy(messages): for m in messages: -- cgit v1.2.3