Fix Client.login documentation to showcase email/password login.
This commit is contained in:
parent
28b3d375e9
commit
5c407df2b7
@ -510,7 +510,7 @@ class Client:
|
|||||||
|
|
||||||
# or
|
# or
|
||||||
|
|
||||||
await client.login('token')
|
await client.login('email', 'password')
|
||||||
|
|
||||||
More than 2 parameters or less than 1 parameter raises a
|
More than 2 parameters or less than 1 parameter raises a
|
||||||
:exc:`TypeError`.
|
:exc:`TypeError`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user