MCPcopy 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
10class int(metaclass=MyInt):
11
12 def __init__(self, x, y):
13 self.x = x
14 self.y = y
15 pass
16
17i = int(4,5)
18i = int(7,8)

Callers 1

metaclass_ex.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected