mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
docstring
This commit is contained in:
@@ -444,7 +444,7 @@ class App(Generic[ReturnType], DOMNode):
|
||||
|
||||
@contextmanager
|
||||
def batch_update(self) -> Generator[None, None, None]:
|
||||
"""Suspend all repaints until the end of the batch."""
|
||||
"""A context manager to suspend all repaints until the end of the batch."""
|
||||
self._begin_batch()
|
||||
try:
|
||||
yield
|
||||
|
||||
Reference in New Issue
Block a user