Paul's Programming Notes     Archive     Feed     Github

Python - Singleton

I saw some interesting Python singleton code in the wild today. It was used for a Redis connection pool.

It looked like this.