This is one simple way to emulate a singleton class on behalf of a normal class. (A singleton class is a class with at most one instance.)
The implementation does not emulate a class 100% (for example it lacks the special attributes lile __dict__ or __bases__), but it should be absolutely sufficient in most common cases.