Modernize unittest example
Issue #17508: Handled out-of-order handler configuration correctly.
Issue #17508: Merged fix from 3.2.
Clean up references to the no longer existing PyString_ APIs in our docs.
cleanup references to PyString_ APIs from 2.x in the 3.3 docs.