Skip to content

Commit 1b9e808

Browse files
committed
formatting
1 parent ea99845 commit 1b9e808

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/textual/widgets/_list_view.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,12 +225,12 @@ def insert(self, index: int, items: Iterable[ListItem]) -> AwaitMount:
225225
226226
Returns:
227227
An awaitable that yields control to the event loop
228-
until the DOM has been updated with the new child item.
228+
until the DOM has been updated with the new child item.
229229
"""
230230
await_mount = self.mount(*items, before=index)
231231
return await_mount
232232

233-
def pop(self, index: Optional[int]=None) -> AwaitRemove:
233+
def pop(self, index: Optional[int] = None) -> AwaitRemove:
234234
"""Remove last ListItem from ListView or
235235
Remove ListItem from ListView by index
236236
@@ -254,7 +254,7 @@ def remove_items(self, indices: Iterable[int]) -> AwaitRemove:
254254
indices: index(s) of ListItems to remove from ListView
255255
256256
Returns:
257-
An awaitable object that waits for the direct children to be removed.
257+
An awaitable object that waits for the direct children to be removed.
258258
"""
259259
items = self.query("ListItem")
260260
items_to_remove = []

0 commit comments

Comments
 (0)