From 91e5a7b3b0310fce7e24e594761ac2b8bad3c687 Mon Sep 17 00:00:00 2001 From: Peter Hinch Date: Mon, 24 Feb 2025 11:12:25 +0000 Subject: [PATCH] Grid control: backport __call__ from micropython-touch. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a28c582..01466e4 100644 --- a/README.md +++ b/README.md @@ -1290,8 +1290,8 @@ Read access: It is important to note that array index notation always returns an iterator, even if only a single element is required. One way to access a single element is ```python -it = grid[0 : 0] -label = next(it) +it = grid[0 , 0] +label = next(it) # Label at row == 0, col == 0 ``` however function call syntax is more intuitive: ```python