Jonas H. email@example.com added the comment:
when you mark up something with a mod, func, class or meth role, Sphinx will find the target without paying attention to its type. So changing :func: to :class: does not bring anything.
From a quick test this seems to hold true for links within one project but not for Sphinx' intersphinx extension, which actually cares about types.
So the question is whether we keep CPython implementation details (many builtins being both a class and a function) out of the documentation or we get the Sphinx developers to change intersphinx behaviour. I guess you'd suggest the latter, right? :-)