mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Fix a typo in example code in the 0.14.0 release blog post (#2047)
Credit to #2021 for the spot.
This commit is contained in:
@@ -35,7 +35,7 @@ Additionally, we've simplified constructing messages classes. Previously all mes
|
|||||||
So prior to 0.14.0 you might have posted messages like the following:
|
So prior to 0.14.0 you might have posted messages like the following:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
async self.post_message(self.Changed(self, item=self.item))
|
await self.post_message(self.Changed(self, item=self.item))
|
||||||
```
|
```
|
||||||
|
|
||||||
You can now replace it with this simpler function call:
|
You can now replace it with this simpler function call:
|
||||||
|
|||||||
Reference in New Issue
Block a user