From dbf31d29d7fe339b2c784af799ca89be8b86066b Mon Sep 17 00:00:00 2001 From: Anthon van der Neut Date: Mon, 24 Jul 2023 11:09:18 +0200 Subject: [PATCH] remove unused method Index.handle_click is never used in this example, looks like it is a remnant of copy-paste of example-1.py --- doc/content/tutorial/03-events/example-2.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/doc/content/tutorial/03-events/example-2.py b/doc/content/tutorial/03-events/example-2.py index d9a1dd84..bbe23410 100644 --- a/doc/content/tutorial/03-events/example-2.py +++ b/doc/content/tutorial/03-events/example-2.py @@ -45,9 +45,6 @@ def increase(self, input_event): @app.route('/') class Index(View): - def handle_click(self, input_event): - input_event.node.set_text('Success!') - def handle_request(self, request): return HTML( H1('Counter'),