This is an extension of bug #1750929, which I just closed. It uses the same example code, except with the docstring marked as a raw string with r""".
The docstring for encodePath() is really long. In the PDF output, it doesn't fit on one page. The description is truncated (and smushed into the bottom of the page). The arguments and notes don't appear at all.