Fix formatting of Python docs.