use a Sphinx ref instead of raw url

Other than reducing ugliness, when building the doc with Python 3,
the target is a Python 3 version of the class; same applies to Python 2.
Merge pull request #908 from tshepang/use-ref

use a Sphinx ref instead of raw url