Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jack-Lee-Hiter/AlgorithmsByPython
/ foo
Method
foo
mysingleton.py:3–4 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1
# 单例模式
2
class
My_Singleton(object):
3
def
foo(self):
4
pass
5
my_singleton = My_Singleton()
Callers
1
Singleton.py
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected