|
@@ -14,7 +14,6 @@ class PetShop:
|
|
|
|
|
|
self.pet_factory = animal_factory
|
|
|
|
|
|
-
|
|
|
def show_pet(self):
|
|
|
"""Creates and shows a pet using the
|
|
|
abstract factory"""
|
|
@@ -73,4 +72,4 @@ if __name__ == "__main__":
|
|
|
for i in range(3):
|
|
|
shop.pet_factory = get_factory()
|
|
|
shop.show_pet()
|
|
|
- print("=" * 20)
|
|
|
+ print("=" * 20)
|