Below, the 'real' page output is visible:
Hello, this is the content generated by the ypage '/test/inherit.y'
This page's class: <class 'Ypage_test_inherit_y.Page'>
This page's base classes: ["<class 'snakeserver.YpageEngine.Ypage'>", 'YBaseClass.YBaseClass']
And this is the footer, again created from the base class. Using this mechanism, it is quite easy to create a template-like setup for your website.
If you're not using the 'real' template mechanism of Ypages, ofcourse :-) (with the <%@pagetemplate="..."%> declaration)