MCPcopy Create free account
hub / github.com/Jack-Lee-Hiter/AlgorithmsByPython / My_Singleton

Class My_Singleton

mysingleton.py:2–4  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# 单例模式
2class My_Singleton(object):
3 def foo(self):
4 pass
5my_singleton = My_Singleton()

Callers 1

mysingleton.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected