Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Seogeurim/CS-study
/ int
Class
int
contents/design-pattern/code/SingletonPython/metaclass_ex.py:10–15 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
return
type.__call__(cls, *args, **kwds)
9
10
class
int(metaclass=MyInt):
11
12
def
__init__(self, x, y):
13
self.x = x
14
self.y = y
15
pass
16
17
i = int(4,5)
18
i = int(7,8)
Callers
1
metaclass_ex.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected