async def main():
coc_client = coc.EVentsClient()
try:
await coc.login("email", "password")
except coc.InvalidCredentials as error:
exit(error)
async def main():
coc_client = coc.EventsClient()
try:
await coc_client.login("email", "password")
except coc.InvalidCredentials as error:
exit(error)
The line
should be
in the README.rst