I.E.
Ada:
function Convert_to_Something(This : in Dog) return Animal is
begin
return This.Animal
end Convert_to_Something
Python
(in class definition)
class Dog:
def Convert_To_Something(self):
return self.Animal
How they're called:
Ada:
Convert_to_Something(This
Python