aboutsummaryrefslogtreecommitdiff
path: root/docs/_static/style.css
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-05-09 20:35:18 -0400
committerRapptz <[email protected]>2017-05-09 20:35:18 -0400
commite557f69c8365665f5a636d0942e9a11e98bedb45 (patch)
tree4f04903e260e3cfe8aefc9771a927645589f835e /docs/_static/style.css
parentRemove Guild.change_vanity_invite in favour of Guild.edit (diff)
downloaddiscord.py-e557f69c8365665f5a636d0942e9a11e98bedb45.tar.xz
discord.py-e557f69c8365665f5a636d0942e9a11e98bedb45.zip
Make sure that websockets.connect is a coroutine.
In 3.5.0 and 3.5.1 asyncio.ensure_future requires a Future or a coroutine otherwise a TypeError is raised. The issue is that the websockets.connect call is an awaitable rather than a coroutine. asyncio.ensure_future did not gain support for awaitables until 3.5.2. This patch allows 3.5.0 and 3.5.1 to connect regardless of their python version.
Diffstat (limited to 'docs/_static/style.css')
0 files changed, 0 insertions, 0 deletions