Documentation fixes in Client.connect.

This commit is contained in:
Rapptz 2015-12-05 05:48:09 -05:00
parent 161e2ebfb0
commit 63f4a769c6

View File

@ -388,8 +388,10 @@ class Client:
you should run it in an executor or schedule the coroutine to you should run it in an executor or schedule the coroutine to
be executed later using ``loop.create_task``. be executed later using ``loop.create_task``.
This function throws :exc:`ClientException` if called before Raises
logging in via :meth:`login`. -------
ClientException
If this is called before :meth:`login` was invoked successfully.
""" """
yield from self._make_websocket() yield from self._make_websocket()