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

@ -26,11 +26,27 @@ DEALINGS IN THE SOFTWARE.
from enum import Enum
__all__ = ['ChannelType', 'MessageType', 'VoiceRegion', 'SpeakingState',
'VerificationLevel', 'ContentFilter', 'Status', 'DefaultAvatar',
'RelationshipType', 'AuditLogAction', 'AuditLogActionCategory',
'UserFlags', 'ActivityType', 'HypeSquadHouse', 'NotificationLevel',
'PremiumType', 'UserContentFilter', 'FriendFlags', 'Theme']
__all__ = (
'ChannelType',
'MessageType',
'VoiceRegion',
'SpeakingState',
'VerificationLevel',
'ContentFilter',
'Status',
'DefaultAvatar',
'RelationshipType',
'AuditLogAction',
'AuditLogActionCategory',
'UserFlags',
'ActivityType',
'HypeSquadHouse',
'NotificationLevel',
'PremiumType',
'UserContentFilter',
'FriendFlags',
'Theme',
)
def fast_lookup(cls):
# NOTE: implies hashable