We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 335fd5b commit d8c0fd6Copy full SHA for d8c0fd6
patterns/structural/front_controller.py
@@ -27,7 +27,7 @@ def dispatch(self, request):
27
elif request.type == Request.tablet_type:
28
self.tablet_view.show_index_page()
29
else:
30
- print("cant dispatch the request")
+ print("Cannot dispatch the request")
31
32
33
class RequestController:
@@ -69,7 +69,7 @@ def main():
69
Displaying tablet index page
70
71
>>> front_controller.dispatch_request(Request('desktop'))
72
- cant dispatch the request
+ Cannot dispatch the request
73
74
>>> front_controller.dispatch_request('mobile')
75
request must be a Request object
0 commit comments