Doc/Python3/PyCXX.html uses PyException in two catch blocks (around lines 298 and 943) and in the seqlen example (around line 939). There is no PyException class; the class is Py::Exception. In addition, the seqlen example throws it with only a string, for which Py::Exception has no constructor. The attached patch changes the catch blocks to Py::Exception and the throw to Py::TypeError. Originally reported in Debian: https://bugs.debian.org/732089