Fixes 889639 - r=peterbe

* PEP8 cleanup
* add docstring for include_symbols()