Skip to content

Commit fa2bc83

Browse files
committed
minor edit
1 parent 85bda75 commit fa2bc83

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

3-tier.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ class Data(object):
1212
}
1313

1414
def __get__(self, obj, klas):
15-
print ("(Fetching from Data Store)")
15+
print("(Fetching from Data Store)")
1616
return {'products': self.products}
1717

1818

1919
class BusinessLogic(object):
20-
2120
""" Business logic holding data store instances """
2221

2322
data = Data()

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Current Patterns:
2525
| [decorator](decorator.py) | wrap functionality with other functionality in order to affect outputs |
2626
| [facade](facade.py) | use one class as an API to a number of others |
2727
| [factory_method](factory_method.py) | delegate a specialized function/method to create instances |
28-
| [front controller](front_controller.py) | single handler requests coming to the application |
28+
| [front_controller](front_controller.py) | single handler requests coming to the application |
2929
| [flyweight](flyweight.py) | transparently reuse existing instances of objects with similar/identical state |
3030
| [graph_search](graph_search.py) | (graphing algorithms, not design patterns) |
3131
| [lazy_evaluation](lazy_evaluation.py) | lazily-evaluated property pattern in Python |

adapter.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ def make_noise(self, octane_level):
3737

3838

3939
class Adapter(object):
40-
4140
"""
4241
Adapts an object by replacing methods.
4342
Usage:

front_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# -*- coding: utf-8 -*-
33

44
"""
5-
@author: Gordeev Andrei <gordeev.and.and@gmail.com>
5+
@author: Gordeev Andrey <gordeev.and.and@gmail.com>
66
The controller provides a centralized entry point that controls and manages
77
request handling.
88
"""

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy