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/webhook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/webhook.py') diff --git a/discord/webhook.py b/discord/webhook.py index 7fdcf0f8..d9671b82 100644 --- a/discord/webhook.py +++ b/discord/webhook.py @@ -34,7 +34,7 @@ from . import utils from .errors import InvalidArgument, HTTPException, Forbidden, NotFound from .user import BaseUser, User -__all__ = ('WebhookAdapter', 'AsyncWebhookAdapter', 'RequestsWebhookAdapter', 'Webhook') +__all__ = ['WebhookAdapter', 'AsyncWebhookAdapter', 'RequestsWebhookAdapter', 'Webhook'] class WebhookAdapter: """Base class for all webhook adapters. -- cgit v1.2.3