Skip to content

Commit

Permalink
Merge branch 'release/0.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Romary Dupuis committed Jan 1, 2018
2 parents 66e1040 + 40b8bec commit 7aebd95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions singleton/__init__.py
Expand Up @@ -9,6 +9,9 @@ class Singleton(type):
"""
Usage:
class bar(object, metaclass=Singleton):
or
class bar(object):
__metaclass__ = Singleton
"""
_instances = {}

Expand Down

0 comments on commit 7aebd95

Please sign in to comment.