Clarify that Client.close is a coroutine.

This commit is contained in:
Rapptz 2016-03-29 20:44:33 -04:00
parent 53a240e0d3
commit 7dcf0c059c

View File

@ -544,9 +544,9 @@ class Client:
@asyncio.coroutine
def close(self):
"""Closes the websocket connection.
"""|coro|
To reconnect the websocket connection, :meth:`connect` must be used.
Closes the connection to discord.
"""
if self.is_closed:
return