diff options
| author | Rapptz <[email protected]> | 2019-04-20 17:20:58 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-04-20 17:20:58 -0400 |
| commit | 919dbcafb33eb4e2bb595d7e607f525cf2d02178 (patch) | |
| tree | 206ca4b5430c72854cc818c55d82ce8a641ff9ee /discord/gateway.py | |
| parent | [commands] Clean docstrings in Command.parents and Command.root_parent (diff) | |
| download | discord.py-919dbcafb33eb4e2bb595d7e607f525cf2d02178.tar.xz discord.py-919dbcafb33eb4e2bb595d7e607f525cf2d02178.zip | |
Consistent use of __all__ to prevent merge conflicts.
Diffstat (limited to 'discord/gateway.py')
| -rw-r--r-- | discord/gateway.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/discord/gateway.py b/discord/gateway.py index bc9a17a2..bf51377f 100644 --- a/discord/gateway.py +++ b/discord/gateway.py @@ -44,8 +44,13 @@ from .errors import ConnectionClosed, InvalidArgument log = logging.getLogger(__name__) -__all__ = ['DiscordWebSocket', 'KeepAliveHandler', 'VoiceKeepAliveHandler', - 'DiscordVoiceWebSocket', 'ResumeWebSocket'] +__all__ = ( + 'DiscordWebSocket', + 'KeepAliveHandler', + 'VoiceKeepAliveHandler', + 'DiscordVoiceWebSocket', + 'ResumeWebSocket', +) class ResumeWebSocket(Exception): """Signals to initialise via RESUME opcode instead of IDENTIFY.""" |