Consistent use of __all__ to prevent merge conflicts.

This commit is contained in:
Rapptz
2019-04-20 17:20:58 -04:00
parent c6410ea9ab
commit 919dbcafb3
12 changed files with 130 additions and 36 deletions

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."""