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

Class MyClass3

Target Offer/Singleton.py:73–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 return getinstance
72@singleton
73class MyClass3(object):
74 a = 1
75 def __init__(self, x = 0):
76 self.x = x
77
78one = MyClass3()
79two = MyClass3()

Callers 1

Singleton.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected