Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions prototype.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
"""
Specify the kinds of objects to create using a prototypical instance, and create new objects from the 'skeleton' of an existing object,
thus boosting performance and keeping memory footprints to a minimum.
"""

from copy import deepcopy, copy

copyfunc = deepcopy
Expand Down