Here is the [source](https://raw.githubusercontent.com/python/cpython/master/Doc/library/constants.rst) as to why `:const:` is wrong - it should be `:data:`. In any case, sphinx makes this a link with no directive needed