mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add missing 'to'
This commit is contained in:
@@ -26,7 +26,7 @@ If the matched widget is *not* a button (i.e. if `isinstance(widget, Button)` eq
|
||||
|
||||
!!! tip
|
||||
|
||||
The second parameter allows type-checkers like MyPy know the exact return type. Without it, MyPy would only know the result of `query_one` is a Widget (the base class).
|
||||
The second parameter allows type-checkers like MyPy to know the exact return type. Without it, MyPy would only know the result of `query_one` is a Widget (the base class).
|
||||
|
||||
## Making queries
|
||||
|
||||
|
||||
Reference in New Issue
Block a user