element.py: Fix sources() generator to be a generator.
Minor fix; restore Element.sources()
so that it is indeed a generator as it advertizes to be, and not a function which returns a generator.
This is possibly a stylistic change, but might be subtly different in the deep guts of the python implementation, if it is different at all, then yield from
in this case should be more correct.