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 79a41c7 commit 871fd8aCopy full SHA for 871fd8a
patterns/creational/abstract_factory.py
@@ -91,7 +91,7 @@ def main() -> None:
91
92
if __name__ == "__main__":
93
animals = ['dog', 'cat']
94
- random_animal = random.choice(animals)
+ random_animal: Pet = random.choice(animals)
95
96
shop = PetShop(random_animal)
97
import doctest
0 commit comments