We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f603e3f commit bce868fCopy full SHA for bce868f
1 file changed
abstract_factory.py
@@ -25,16 +25,6 @@ def show_pet(self):
25
print("It eats {}".format(self.pet_factory.get_food()))
26
27
28
- def show_pet(self):
29
- """Creates and shows a pet using the
30
- abstract factory"""
31
-
32
- pet = self.pet_factory.get_pet()
33
- print("This is a lovely", pet)
34
- print("It says", pet.speak())
35
- print("It eats", self.pet_factory.get_food())
36
37
38
# Stuff that our factory makes
39
40
class Dog:
0 commit comments