Skip to content

Commit 6ff56ea

Browse files
committed
remove apostrophe from execute
1 parent ef7684b commit 6ff56ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

patterns/behavioral/command.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Command pattern decouples the object invoking a job from the one who knows
33
how to do it. As mentioned in the GoF book, a good example is in menu items.
44
You have a menu that has lots of items. Each item is responsible for doing a
5-
special thing and you want your menu item just call the `execute` method when
6-
it is pressed. To achieve this you implement a command object with the `execute`
5+
special thing and you want your menu item just call the execute method when
6+
it is pressed. To achieve this you implement a command object with the execute
77
method for each menu item and pass to it.
88
99
*About the example
@@ -16,7 +16,7 @@
1616
Object oriented implementation of callback functions.
1717
1818
*Examples in Python ecosystem:
19-
Django HttpRequest (without `execute` method):
19+
Django HttpRequest (without execute method):
2020
https://docs.djangoproject.com/en/2.1/ref/request-response/#httprequest-objects
2121
"""
2222

0 commit comments

Comments
 (0)