Fixed a typo in the internal docs. Cleaning up the formatting for the PyPi code example.