MAINT: Drive-by PEP8/pyflakes fixes.
DOC: surround methods in class docstrings with backticks.

Fixes #3915.
Merge pull request #3926 from jvkersch/doc-stats-3915

DOC: Surround stats class methods in docstrings with backticks.