Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
2 answers
3k views

Ensuring that attributes referenced by a mixin are present in the children class

I have implemented the below _get_schema method to ensure that schema attribute is always present on the ...
barciewicz's user avatar
32 votes
5 answers
5k views

Chess game for my students

I teach programming, and I currently teach my class about inheritance, abstract classes, and mixins. I wrote this code as an example, and I want to be sure it is as good as possible before I release ...
Infinity's user avatar
  • 505