Skip to content

Commit 715080c

Browse files
committed
Renaming calculator to counter in example
1 parent 8fc2bd1 commit 715080c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/examples/guide/widgets/calculator.py renamed to docs/examples/guide/widgets/counter.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ def action_change_count(self, amount: int) -> None:
2121
self.count += amount
2222

2323

24-
class CalculatorApp(App[None]):
25-
CSS_PATH = "calculator.tcss"
24+
class CounterApp(App[None]):
25+
CSS_PATH = "counter.tcss"
2626

2727
def compose(self) -> ComposeResult:
2828
yield Counter()
@@ -31,5 +31,5 @@ def compose(self) -> ComposeResult:
3131

3232

3333
if __name__ == "__main__":
34-
app = CalculatorApp()
34+
app = CounterApp()
3535
app.run()

0 commit comments

Comments
 (0)