Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidkingzyb/SCAST
/ __init__
Method
__init__
test/test.py:26–28 ·
view source on GitHub ↗
(self, name, age, breed)
Source
from the content-addressed store, hash-verified
24
# 定义 Dog 子类
25
class
Dog(Animal):
26
def
__init__(self, name, age, breed):
27
super().__init__(name, age)
28
self.breed = breed
29
30
def
speak(self):
31
return
"汪汪汪"
Callers
1
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected