could be that there needs to be a \n  behind each line else pydoc output will be broken.
best is to try and see how the output is