Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jack-Lee-Hiter/AlgorithmsByPython
/ __init__
Method
__init__
Target Offer/Singleton.py:75–76 ·
view source on GitHub ↗
(self, x = 0)
Source
from the content-addressed store, hash-verified
73
class
MyClass3(object):
74
a = 1
75
def
__init__(self, x = 0):
76
self.x = x
77
78
one = MyClass3()
79
two = MyClass3()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected