Skip to content

Commit 382cec1

Browse files
committed
a little type error
1 parent fed1e21 commit 382cec1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

patterns/behavioral/command.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
method for each menu item and pass to it.
88
99
*About the example
10-
We have a menu containing two items. Each item accept a file name, one hides the file
11-
and the other deletes it. Both items have undo option.
12-
Each item is a MenuItem class that accept corresponding command as input and executes
13-
its `execute` method when it is pressed.
10+
We have a menu containing two items. Each item accepts a file name, one hides the file
11+
and the other deletes it. Both items have an undo option.
12+
Each item is a MenuItem class that accepts the corresponding command as input and executes
13+
it's execute` method when it is pressed.
1414
1515
*TL;DR
1616
Object oriented implementation of callback functions.

0 commit comments

Comments
 (0)