Skip to content

Commit 9a8be5c

Browse files
authored
Update prototype.py
1 parent a12ad8e commit 9a8be5c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

patterns/creational/prototype.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
1717
Below provides an example of such Dispatcher, which contains three
1818
copies of the prototype: 'default', 'objecta' and 'objectb'.
19+
20+
*TL;DR
21+
Creates new object instances by cloning prototype.
1922
"""
2023

2124
from typing import Any, Dict

0 commit comments

Comments
 (0)