From da37fce56379f37b41102f4ccaf2b315b27b4459 Mon Sep 17 00:00:00 2001 From: Louis-Justin TALLOT <72044417+LouisJustinTALLOT@users.noreply.github.com> Date: Thu, 10 Feb 2022 11:38:14 +0100 Subject: [PATCH] Fix example code in documentation (#1787) --- docs/getting_started.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting_started.rst b/docs/getting_started.rst index 667d4ac6..18b71e93 100644 --- a/docs/getting_started.rst +++ b/docs/getting_started.rst @@ -174,7 +174,7 @@ SocketIO supports acknowledgment callbacks that confirm that a message was received by the client:: def ack(): - print 'message was received!' + print('message was received!') @socketio.on('my event') def handle_my_custom_event(json):