aboutsummaryrefslogtreecommitdiff
path: root/discord/shard.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/shard.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/shard.py')
-rw-r--r--discord/shard.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/discord/shard.py b/discord/shard.py
index eb9727b2..6fd4e3cb 100644
--- a/discord/shard.py
+++ b/discord/shard.py
@@ -24,6 +24,12 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
"""
+import asyncio
+import itertools
+import logging
+
+import websockets
+
from .state import AutoShardedConnectionState
from .client import Client
from .gateway import *
@@ -31,11 +37,6 @@ from .errors import ClientException, InvalidArgument
from . import utils
from .enums import Status
-import asyncio
-import logging
-import websockets
-import itertools
-
log = logging.getLogger(__name__)
class Shard: