Skip to content

Commit 0f82ccb

Browse files
committed
Updated comments.
1 parent 4d9a4da commit 0f82ccb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

examples/async_printing.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
2-
"""A simple example demonstrating an application that asynchronously prints alerts, updates the prompt
3-
and changes the window title.
2+
"""A simple example demonstrating an application that asynchronously prints alerts,
3+
updates the prompt, and changes the window title.
44
"""
55

66
import secrets
@@ -58,10 +58,10 @@ def get_alerts() -> list[tuple[Any, bool]]:
5858

5959

6060
class AlerterApp(cmd2.Cmd):
61-
"""An app that shows off async_alert() and async_update_prompt()."""
61+
"""An app that shows off add_alert() and set_window_title()."""
6262

6363
def __init__(self) -> None:
64-
"""Initializer."""
64+
"""Initialize AlerterApp."""
6565
super().__init__()
6666

6767
self.prompt = "(APR)> "

0 commit comments

Comments
 (0)