Skip to content

Instantly share code, notes, and snippets.

@Sean-Bradley
Created April 14, 2019 09:19
Show Gist options
  • Save Sean-Bradley/774c6712045bba77718a6496e7255258 to your computer and use it in GitHub Desktop.
Save Sean-Bradley/774c6712045bba77718a6496e7255258 to your computer and use it in GitHub Desktop.
class IProtoType(metaclass=ABCMeta):
"""interface with clone method"""
@abstractstaticmethod
def clone():
"""The clone, deep or shallow, is up to how you
want implement the details in your concrete class?"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment