MCPcopy Create free account
hub / github.com/DasyDong/developer-roadmap / Friend

Class Friend

code/interface.py:121–131  ·  view source on GitHub ↗

Built implicitly from Person Friend is a virtual subclass of Person since both required methods exist. Person not in Friend.__mro__

Source from the content-addressed store, hash-verified

119 pass
120
121class Friend:
122 """Built implicitly from Person
123 Friend is a virtual subclass of Person since
124 both required methods exist.
125 Person not in Friend.__mro__
126 """
127 def name(self):
128 pass
129
130 def age(self):
131 pass
132
133print(issubclass(Employee, PersonSuper))
134print(issubclass(Friend, PersonSuper))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected