Files
python-gpiozero/gpiozero
Dave Jones fa0a1b3cdd Fix #76, fix #79
This finishes off implementing values and source for all (current)
classes in gpiozero. I'm afraid things get rather complex in this
commit. For starters, we've now got quite a few "aggregate" classes
which necessarily don't descend from GPIODevice. To implement values and
source on these I could either repeat a helluva lot of code or ... turn
to mixin classes. Yeah, it's multiple inheritance time, baby!

Unfortunately multiple inheritance doesn't work with __slots__ but we
really ought to keep functionality that they provide us (raise
AttributeError when an unknown attribute is set). So I've implemented
this with ... erm ... metaclasses. Sorry!
2015-10-22 21:44:42 +01:00
..
2015-10-22 21:44:42 +01:00
2015-10-22 21:44:42 +01:00
2015-10-22 21:44:42 +01:00
2015-10-22 21:44:42 +01:00
2015-10-22 21:44:42 +01:00