Consistent use of __all__ to prevent merge conflicts.

This commit is contained in:
Rapptz committed 2019-04-20 17:20:58 -04:00
1 parent c6410ea9ab
commit 919dbcafb3
12 files changed
+130 -36

No files matched your search

+7 -2
View File
@@ -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."""