fix parser inheritance docs (fixes #326)
trim trailing whitespace
Merge pull request #333 from joshfriend/parser-inheritance-docs

Fix parser inheritance docs