doc: minor doc and pep8 fixes