Singleton: ensures a class has only one instance, and provides a global point of access to it.
My implementation is based this stackoverflow post.
python chocolate.py
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Singleton: ensures a class has only one instance, and provides a global point of access to it.
My implementation is based this stackoverflow post.
python chocolate.py