File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
## Different implementations of Singleton pattern
2
2
3
- 1 . ** singleton_basic ** - Basic implementation reminiscent of some lower level languages.
4
- 2 . ** singleton_new** - Overriding the ____ new ____ method in class and metaclass.
5
- 3 . ** singleton_call** - Overriding the ____ call ____ method in metaclass.
6
- 4 . ** singleton_deco** - Singleton using method decorators.
7
- 5 . ** singleton_mp** - Shared memory singleton using multiprocessing manager.
3
+ 1 . ** singleton_simple ** - Simple implementation reminiscent of some lower level languages.
4
+ 2 . ** singleton_new** - Overriding the ______ new ______ method in class and metaclass.
5
+ 3 . ** singleton_call** - Overriding the ______ call ______ method in metaclass.
6
+ 4 . ** singleton_deco** - Singleton using method decorators.
7
+ 5 . ** singleton_mp** - Shared memory singleton using multiprocessing manager.
You can’t perform that action at this time.
0 commit comments