We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f4e266 commit 84b4b7bCopy full SHA for 84b4b7b
patterns/creational/abstract_factory.py
@@ -90,7 +90,7 @@ def main() -> None:
90
91
92
if __name__ == "__main__":
93
- animals = ['dog', 'cat']
+ animals = [Dog, Cat]
94
random_animal: type[Pet] = random.choice(animals)
95
96
shop = PetShop(random_animal)
0 commit comments