aboutsummaryrefslogtreecommitdiff
path: root/discord/gateway.py
diff options
context:
space:
mode:
authorHornwitser <[email protected]>2018-08-01 15:24:33 +0200
committerRapptz <[email protected]>2018-11-24 22:17:58 -0500
commitefb4ff850ea476d2aabc8ab4069a6d52ad602f42 (patch)
tree25d705c284c37a15d72f2419e9f6f1010a2f9e08 /discord/gateway.py
parent[commands] Remove duplicated quote entries (diff)
downloaddiscord.py-efb4ff850ea476d2aabc8ab4069a6d52ad602f42.tar.xz
discord.py-efb4ff850ea476d2aabc8ab4069a6d52ad602f42.zip
[lint] Fix import order
Reorder imports to be consistenly grouped by standard library, third party library, and local modules in that order thoughout the library.
Diffstat (limited to 'discord/gateway.py')
-rw-r--r--discord/gateway.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/discord/gateway.py b/discord/gateway.py
index a8c8ee24..35d92fe6 100644
--- a/discord/gateway.py
+++ b/discord/gateway.py
@@ -24,19 +24,21 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
"""
+import asyncio
+from collections import namedtuple
+import json
+import logging
+import struct
import sys
import time
+import threading
+import zlib
+
import websockets
-import asyncio
from . import utils
from .activity import _ActivityTag
from .errors import ConnectionClosed, InvalidArgument
-import logging
-import zlib, json
-from collections import namedtuple
-import threading
-import struct
log = logging.getLogger(__name__)