Grid control: backport __call__ from micropython-touch.

main
Peter Hinch 2025-02-24 11:12:25 +00:00
rodzic 174b53ba54
commit 91e5a7b3b0
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1290,8 +1290,8 @@ Read access:
It is important to note that array index notation always returns an iterator, 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 even if only a single element is required. One way to access a single element is
```python ```python
it = grid[0 : 0] it = grid[0 , 0]
label = next(it) label = next(it) # Label at row == 0, col == 0
``` ```
however function call syntax is more intuitive: however function call syntax is more intuitive:
```python ```python