Skip to content

Commit 98504c6

Browse files
committed
fix missed blanks
1 parent 2903dd1 commit 98504c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/metaclasses.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@
2020
@author: HWASSMAN
2121
'''
2222

23+
2324
class Singleton(type):
2425
"""metaclass to make a class a singleton"""
2526
_instances = {}
27+
2628
def __call__(cls, *args, **kwargs):
2729
if cls not in cls._instances:
2830
cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)

0 commit comments

Comments
 (0)