fixed a bit of pydoc stuff