MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / Bob

Class Bob

staticchecking/NoBasePetSpeak.py:15–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 print("woof!")
14
15class Bob:
16 def bow(self):
17 print("thank you, thank you!")
18 def speak(self):
19 print("Welcome to the neighborhood!")
20 def drive(self):
21 print("beep, beep!")
22
23def command(pet):
24 pet.speak()

Callers 1

NoBasePetSpeak.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected