aboutsummaryrefslogtreecommitdiff
path: root/discord/client.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/client.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/client.py')
-rw-r--r--discord/client.py20
1 files changed, 11 insertions, 9 deletions
diff --git a/discord/client.py b/discord/client.py
index e5269828..012adc73 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -24,6 +24,17 @@ 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 logging
+import re
+import signal
+import sys
+import traceback
+
+import aiohttp
+import websockets
+
from .user import User, Profile
from .invite import Invite
from .object import Object
@@ -39,15 +50,6 @@ from . import utils
from .backoff import ExponentialBackoff
from .webhook import Webhook
-import asyncio
-import aiohttp
-import websockets
-
-import logging, traceback
-import sys, re
-import signal
-from collections import namedtuple
-
log = logging.getLogger(__name__)
AppInfo = namedtuple('AppInfo',