[V3] Actually add compatibility with 3.5.1 (#1155)

* Fix 3.5.1 issue with TYPE_CHECKING

* I hate you

* Smarter...
This commit is contained in:
Will
2017-12-09 18:51:35 -05:00
committed by GitHub
parent 02d7193a92
commit 6d1d699059
6 changed files with 19 additions and 11 deletions

View File

@@ -1,5 +1,3 @@
from typing import NewType, TYPE_CHECKING
import asyncio
from aiohttp.web import Application
@@ -7,6 +5,8 @@ from aiohttp_json_rpc import JsonRpc
import logging
from .utils import TYPE_CHECKING, NewType
if TYPE_CHECKING:
from .bot import Red