Created
November 14, 2017 18:07
-
-
Save harrtho/ca338e42167c333b53c576576e746cca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Borg(object): | |
""" | |
Impementation of the Borg-Pattern. | |
Source: http://code.activestate.com/recipes/66531/ | |
""" | |
__we_are_one = {} | |
def __init__(self): | |
self.__dict__ = self. __we_are_one | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment