Skip to content
All apps

Where does Python find the method?

About this app

A tower of object, Wettkampf, Lauf and object: for w.tempo(), print(w) or l.platz a search beam climbs station by station, and the first match wins. tempo lives only in Lauf, all attributes sit in the one object, and super() continues the search one level up. Switching methods off shows which version of __str__ takes over, all the way up to object.

Subject: Computer science

More from Computer science

A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps