1 parent 4d9a4da commit 0f82ccbCopy full SHA for 0f82ccb
1 file changed
examples/async_printing.py
@@ -1,6 +1,6 @@
1
#!/usr/bin/env python
2
-"""A simple example demonstrating an application that asynchronously prints alerts, updates the prompt
3
-and changes the window title.
+"""A simple example demonstrating an application that asynchronously prints alerts,
+updates the prompt, and changes the window title.
4
"""
5
6
import secrets
@@ -58,10 +58,10 @@ def get_alerts() -> list[tuple[Any, bool]]:
58
59
60
class AlerterApp(cmd2.Cmd):
61
- """An app that shows off async_alert() and async_update_prompt()."""
+ """An app that shows off add_alert() and set_window_title()."""
62
63
def __init__(self) -> None:
64
- """Initializer."""
+ """Initialize AlerterApp."""
65
super().__init__()
66
67
self.prompt = "(APR)> "
0 commit comments