Skip to content

Commit 7db462e

Browse files
committed
t to T
1 parent 84b4b7b commit 7db462e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patterns/creational/abstract_factory.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def main() -> None:
9191

9292
if __name__ == "__main__":
9393
animals = [Dog, Cat]
94-
random_animal: type[Pet] = random.choice(animals)
94+
random_animal: Type[Pet] = random.choice(animals)
9595

9696
shop = PetShop(random_animal)
9797
import doctest

0 commit comments

Comments
 (0)