From c47fe4190ae531402129f3674d8bbef30aaf78c8 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Fri, 16 Feb 2018 19:07:03 +0100 Subject: [PATCH] Add missing colon --- docs/source/resources/UpdateHandling.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/resources/UpdateHandling.rst b/docs/source/resources/UpdateHandling.rst index 594bdee4..17f39eeb 100644 --- a/docs/source/resources/UpdateHandling.rst +++ b/docs/source/resources/UpdateHandling.rst @@ -18,7 +18,7 @@ Here's a complete example on how to set it up: def update_handler(client, update, users, chats): print(update) - def main() + def main(): client = Client(session_name="example") client.set_update_handler(update_handler)