Fix some doctests that were malformatted, leading to syntax warnings in ...

...the 2to3 conversion.

This is pretty trivial--it just updates the formatting of a few docstrings.