[詳解]
このテンプレートは、任意のクラスを Singleton にするテンプレートである。 以下のようにして使用する。
class A(Singleton): def init(self): pass