27 lines
670 B
Python
27 lines
670 B
Python
"""
|
|
Auto-generated Python stub file from inherit_test.py
|
|
Module: inherit_test
|
|
"""
|
|
|
|
|
|
import stdio
|
|
import t, c
|
|
|
|
@t.CVTable
|
|
class Animal:
|
|
name: t.CInt
|
|
def __init__(self: Animal, n: t.CInt) -> t.CInt: pass
|
|
def GetName(self: Animal) -> t.CInt: pass
|
|
def Speak(self: Animal) -> t.CInt: pass
|
|
class Dog(Animal):
|
|
breed: t.CInt
|
|
def __init__(self: Dog, n: t.CInt, b: t.CInt) -> t.CInt: pass
|
|
def Speak(self: Dog) -> t.CInt: pass
|
|
def GetBreed(self: Dog) -> t.CInt: pass
|
|
class Cat(Animal):
|
|
color: t.CInt
|
|
def __init__(self: Cat, n: t.CInt, col: t.CInt) -> t.CInt: pass
|
|
def GetColor(self: Cat) -> t.CInt: pass
|
|
|
|
def inherit_test() -> int: pass
|