pep8 and doc
fixed stack level argument
remove calls to deprecated renderString
Merge pull request #1199 from goodfeli/doc

Doc